StringCast

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

Choose your operating system:

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>
auto StringCast
(
    const From * Str,
    int32 Len
)

Remarks

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

Parameters

Parameter

Description

Str

The source string to convert, not necessarily null-terminated.

Len

The number of From elements in Str.