FString::ReplaceEscapedCharWithChar

Removes the escape backslash for all supported characters, replacing the escape and character with the non-escaped version.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/UnrealString.h"

Syntax

FString ReplaceEscapedCharWithChar
(
    const TArray< TCHAR > * Chars
)

Remarks

Removes the escape backslash for all supported characters, replacing the escape and character with the non-escaped version. (i.e. replaces "\n" with "\n". Counterpart to ReplaceCharWithEscapedChar().

Returns

copy of this string with replacement made

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