UE::String::ParseTokensMultiple

Parses every token in the input string, as separated by any of the delimiters.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/String/ParseTokens.h

Include

#include "String/ParseTokens.h"

Syntax

namespace UE
{
    namespace String
    {
        template<typename OutputType>
        void UE::String::ParseTokensMultiple
        (
            const FStringView View,
            const TConstArrayView< TCHAR > Delimiters,
            OutputType & Output,
            const EParseTokensOptions Options
        )
    }
}

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.

Parameters

Parameter

Description

View

A view of the string to split into tokens.

Delimiters

An array of delimiter characters to split on.

Output

The output to add parsed tokens to by calling Output.Add(FStringView).

Options

Flags to modify the default behavior.