Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FString
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString Replace
(
const ElementType* From, |
Returns a copy of the string with all occurrences of a substring replaced. | ||
FString Replace
(
const ElementType* From, |
Returns a copy of the string with all occurrences of a substring replaced. |
Replace(const ElementType , const ElementType , ESearchCase::Type)
Description
Returns a copy of the string with all occurrences of a substring replaced.
| Name | Replace |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/String.cpp.inl |
FString Replace
(
const ElementType * From,
const ElementType * To,
ESearchCase::Type SearchCase
) const
a copy of this string with the replacement made
Parameters
| Name | Remarks |
|---|---|
| From | The substring to replace. |
| To | The substring to insert in its place. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |
Replace(const ElementType , const ElementType , ESearchCase::Type)
Description
Returns a copy of the string with all occurrences of a substring replaced.
| Name | Replace |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/String.cpp.inl |
FString Replace
(
const ElementType * From,
const ElementType * To,
ESearchCase::Type SearchCase
)
a copy of this string with the replacement made
Parameters
| Name | Remarks |
|---|---|
| From | The substring to replace. |
| To | The substring to insert in its place. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |