FString::ReplaceCharWithEscapedCharInline

Replaces certain characters with the "escaped" version of that character (i.e. replaces "\n" with "\\n").

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/UnrealString.h"

Source

/Engine/Source/Runtime/Core/Private/Containers/String.cpp

Syntax

void ReplaceCharWithEscapedCharInline
(
    const TArray< TCHAR > * Chars
)

Remarks

Parameters

Parameter

Description

Chars

by default, replaces all supported characters; this parameter allows you to limit the replacement to a subset.

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