StringCast

Creates an object which acts as a source of a given string type. See example above.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/StringConv.h

Include

#include "Containers/StringConv.h"

Syntax

template<typename To, typename From>
TEnableIf<!FPlatformString::TAreEncodingsCompatible< To, From >::Value, TStringConversion< TStringConvert< From, To > > >::Type StringCast
(
    const From * Str
)

Remarks

Creates an object which acts as a source of a given string type. See example above.

Parameters

Parameter

Description

Str

The null-terminated source string to convert.

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