Navigation
Unreal Engine C++ API Reference > Runtime > Core > String > UE::String::ParseTokensMultiple
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/String/ParseTokens.h |
Include | #include "String/ParseTokens.h" |
namespace UE
{
namespace String
{
template<typename OutputType>
void UE&58;&58;String&58;&58;ParseTokensMultiple
&40;
const FAnsiStringView View,
const TConstArrayView< FAnsiStringView > Delimiters,
OutputType & Output,
const EParseTokensOptions Options
&41;
}
}
Remarks
Parses every token in the input string, as separated by any of the delimiters.
Output strings are sub-views of the input view and have the same lifetime as the input view. By default, comparisons with delimiters are case-sensitive and empty tokens are visited. Behavior is undefined when delimiters overlap each other, such as the delimiters ("AB, "BC") and the input string "1ABC2".
Parameters
Name | Description |
---|---|
View | A view of the string to split into tokens. |
Delimiters | An array of non-overlapping non-empty delimiters to split on. |
Output | The output to add parsed tokens to by calling Output.Add(FStringView). |
Options | Flags to modify the default behavior. |