FTextStringHelper

References

Module

Core

Header

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

Include

#include "Internationalization/Text.h"

Syntax

class FTextStringHelper

Functions

Name Description

Public function Static

FText

 

CreateFromBuffer

(
    const TCHAR* Buffer,
    const TCHAR* TextNamespace,
    const TCHAR* PackageNamespace,
    const bool bRequiresQuotes
)

Create an FText instance from the given stream of text.

Public function Static

bool

 

IsComplexText

(
    const TCHAR* Buffer
)

Test to see whether a given buffer contains complex text.

Public function Static

const TCHAR ...

 

ReadFromBuffer

(
    const TCHAR* Buffer,
    FText& OutValue,
    const TCHAR* TextNamespace,
    const TCHAR* PackageNamespace,
    const bool bRequiresQuotes
)

Attempt to extract an FText instance from the given stream of text.

Public function Static

void

 

WriteToBuffer

(
    FString& Buffer,
    const FText& Value,
    const bool bRequiresQuotes,
    const bool bStripPackageNamespace
)

Write the given FText instance to a stream of text

Deprecated Functions

Name Description

Public function Static

bool

 

ReadFromString

(
    const TCHAR* Buffer,
    FText& OutValue,
    const TCHAR* TextNamespace,
    const TCHAR* PackageNamespace,
    int32* OutNumCharsRead,
    const bool bRequiresQuotes,
    const EStringTableLoadingPolicy InL...
)

FTextStringHelper::ReadFromString is deprecated. Use FTextStringHelper::ReadFromBuffer instead.

Public function Static

bool

 

WriteToString

(
    FString& Buffer,
    const FText& Value,
    const bool bRequiresQuotes
)

FTextStringHelper::WriteToString is deprecated. Use FTextStringHelper::WriteToBuffer instead.

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