FString::TrimChar

Returns a copy of this string with wrapping CharacterToTrim removed (removes at max one instance in the beginning and end of the string).

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h

Include

#include "Containers/UnrealString.h"

Source

/Engine/Source/Runtime/Core/Private/Containers/String.cpp

Syntax

FString TrimChar
(
    const TCHAR CharacterToTrim,
    bool * bCharRemoved
)

Remarks

Returns a copy of this string with wrapping CharacterToTrim removed (removes at max one instance in the beginning and end of the string).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss