FString::ReplaceCharInline

Replace all occurrences of a character with another. no dynamic allocation

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/UnrealString.h"

Syntax

void ReplaceCharInline
(
    const TCHAR SearchChar,
    const TCHAR ReplacementChar,
    ESearchCase::Type SearchCase
)

Remarks

Replace all occurrences of a character with another.

no dynamic allocation

Parameters

Parameter

Description

SearchChar

Character to remove from this FString

ReplacementChar

Replacement character

SearchCase

Indicates whether the search is case sensitive or not ( defaults to ESearchCase::IgnoreCase )

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