FString::RemoveFromEnd

Syntax

bool RemoveFromEnd
(
    const TCHAR * InSuffix,
    ESearchCase::Type SearchCase
)

Remarks

Removes the text from the end of the string if it exists.

Returns

true if the suffix was removed, otherwise false.

Parameters

Parameter

Description

InSuffix

the suffix to search for at the end of the string to remove.

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h

Source

Runtime/Core/Private/Containers/String.cpp