UKismetStringLibrary::GetSubstring

Returns a substring from the string starting at the specified position

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetStringLibrary.h

Include

#include "Kismet/KismetStringLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetStringLibrary.cpp

Syntax

static FString GetSubstring
(
    const FString & SourceString,
    int32 StartIndex,
    int32 Length
)

Remarks

Returns a substring from the string starting at the specified position

Returns

The requested substring

Parameters

Parameter

Description

SourceString

The string to get the substring from

StartIndex

The location in SourceString to use as the start of the substring

Length

The length of the requested substring

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