FTextRange::CalculateLineRangesFromString

Produce an array of line ranges from the given text, breaking at any new-line characters

Choose your operating system:

Windows

macOS

Linux

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

static void CalculateLineRangesFromString
(
    const FString & Input,
    TArray< FTextRange > & LineRanges
)

Remarks

Produce an array of line ranges from the given text, breaking at any new-line characters