/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h
Removes the text from the end of the string if it exists.
true if the suffix was removed, otherwise false.
bool RemoveFromEnd ( const TCHAR * InSuffix, [ESearchCase::Type](API\Runtime\Core\Misc\ESearchCase__Type) SearchCase )