FString::JoinBy

Joins a range of elements together into a single string with separators using a projection function.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h

Include

#include "Containers/UnrealString.h"

Syntax

template<typename RangeType, typename ProjectionType>
static FString JoinBy
(
    const RangeType & Range,
    const TCHAR * Separator,
    ProjectionType Proj
)

Remarks

Joins a range of elements together into a single string with separators using a projection function.

Returns

The final, joined, separated string.

Parameters

Parameter

Description

Range

The range of 'things' to concatenate.

Separator

The string used to separate each element.

Proj

The projection used to get a string for each element.

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