Navigation
API > API/Runtime > API/Runtime/Core
Description
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.
| Name | UE::String::ParseLines |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/String/ParseLines.h |
| Include Path | #include "String/ParseLines.h" |
namespace UE
{
namespace String
{
template<typename OutputType, typename StringViewType>
void UE::String::ParseLines
(
const StringViewType View,
OutputType & Output,
const EParseLinesOptions Options
)
}
}
Parameters
| Name | Remarks |
|---|---|
| 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. |