FString::ParseIntoArrayLines

Breaks up a delimited string into elements of a string array, using line ending characters

Windows
MacOS
Linux

Warnings

  • Caution!! this routine is O(N^2) allocations...use it for parsing very short text or not at all!

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h

Include

#include "Containers/UnrealString.h"

Source

/Engine/Source/Runtime/Core/Private/Containers/String.cpp

Syntax

int32 ParseIntoArrayLines
(
    TArray< FString > & OutArray,
    bool InCullEmpty
) const

Remarks

Breaks up a delimited string into elements of a string array, using line ending characters

Caution!! this routine is O(N^2) allocations...use it for parsing very short text or not at all!

Returns

The number of elements in InArray

Parameters

Parameter

Description

InArray

The array to fill with the string pieces

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