FTextRange::CalculateLineRangesFromString

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

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

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