Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/FString > API/Runtime/Core/Containers/FString/Split
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 |
bool Split
&40;
const FString & InS,
FString &42; LeftS,
FString &42; RightS,
ESearchCase::Type SearchCase,
ESearchDir::Type SearchDir
&41; const
Remarks
Splits this string at given string position case sensitive. true if string is split, otherwise false
Parameters
| Name | Description |
|---|---|
| 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 ) |