UE::String::ParseLines

Parse lines in the input string as terminated by any of CRLF, CR, LF.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "String/ParseLines.h"

Syntax

namespace UE
{
    namespace String
    {
        template<typename OutputType>
        void UE::String::ParseLines
        (
            const FStringView View,
            OutputType & Output,
            const EParseLinesOptions Options
        )
    }
}

Remarks

Parse lines in the input string as terminated by any of CRLF, CR, LF.

Output strings are sub-views of the input view and have the same lifetime as the input view. By default, empty lines are collected.

Parameters

Parameter

Description

View

A view of the string to split into lines.

Output

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

Options

Flags to modify the default behavior.