UE::String::ParseTokens

Visit every token in the input view as separated by the delimiter.

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
    {
        void UE::String::ParseTokens
        (
            const FStringView & View,
            TCHAR Delimiter,
            TFunctionRef< void)> Visitor
        )
    }
}

Remarks

Visit every token in the input view as separated by the delimiter.

Comparisons with the delimiter are case-sensitive and empty tokens are visited.

Parameters

Parameter

Description

View

The string view to split into tokens.

Delimiter

The delimiter character to split the input string on.

Visitor

A function that is called for each token.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss