FString::TrimCharInline

Trims a single character from the start and end of the string (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

void TrimCharInline
(
    const TCHAR CharacterToTrim,
    bool * bCharRemoved
)

Remarks

Trims a single character from the start and end of the string (removes at max one instance in the beginning and end of the string).

See Also

TrimChar for a variant that returns a modified copy 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