FString::TrimStartAndEnd

Syntax

FString TrimStartAndEnd() const

Remarks

Removes whitespace characters from the start and end of this string.

Unlike Trim() this function returns a copy, and does not mutate the string.

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h

Source

Runtime/Core/Private/Containers/String.cpp