Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FString
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Split with ESearchCase::IgnoreCase and ESearchDir::FromStart. | |||
bool Split
(
const FString& InStr, |
Splits this string at given string position case sensitive. |
Split(const FString &, FString , FString )
Description
Split with ESearchCase::IgnoreCase and ESearchDir::FromStart. Allows compiler to avoid branches w/o inlining code.
| Name | Split |
| 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 |
bool Split
(
const FString & InStr,
FString * LeftS,
FString * RightS
) const
Split(const FString &, FString , FString , ESearchCase::Type, ESearchDir::Type)
Description
Splits this string at given string position case sensitive.
| Name | Split |
| 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 |
bool Split
(
const FString & InStr,
FString * LeftS,
FString * RightS,
ESearchCase::Type SearchCase,
ESearchDir::Type SearchDir
) const
true if string is split, otherwise false
Parameters
| Name | Remarks |
|---|---|
| InStr | The string to search and split at |
| LeftS | out the string to the left of InStr, not updated if return is false. LeftS must not point to the same location as RightS, but can point to this. |
| RightS | out the string to the right of InStr, not updated if return is false. RightS must not point to the same location as LeftS, but can point to this. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |
| SearchDir | Indicates whether the search starts at the beginning or at the end (defaults to ESearchDir::FromStart) |