FTextStringHelper

Windows
MacOS
Linux

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
)

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback