FString::ParseIntoArrayWS

Warnings

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

Syntax

int32 ParseIntoArrayWS
(
    TArray < FString > & OutArray,
    const TCHAR * pchExtraDelim,
    bool InCullEmpty
) const

Remarks

Breaks up a delimited string into elements of a string array, using any whitespace and an optional extra delimter, like a ","

Caution!! this routine is O(N^2) allocations...use it for parsing very short text or not at all! 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

pchExtraDelim

The string to delimit on

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h

Source

Runtime/Core/Private/Containers/String.cpp