FText::TrimPrecedingAndTrailing

Removes any whitespace characters from the start and end of the text.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/Text.h

Include

#include "Internationalization/Text.h"

Source

/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp

Syntax

static FText TrimPrecedingAndTrailing
(
    const FText &
)

Remarks

Removes any whitespace characters from the start and end of the text.