FActorLabelUtilities::SplitActorLabel

Given a label, attempts to split this into its alpha/numeric parts.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp

Syntax

static bool SplitActorLabel
(
    FString & InOutLabel,
    int32 & OutIdx
)

Remarks

Given a label, attempts to split this into its alpha/numeric parts.

Returns

true if the label ends with a number.

Parameters

Parameter

Description

InOutLabel

The label to start with, this will only be modified if it ends in a number.

OutIdx

The number which the string ends with, if any.

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