TStringBuilderBase::Join

Append every element of the range to the builder, separating the elements by the delimiter.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/StringBuilder.h

Include

#include "Misc/StringBuilder.h"

Syntax

template<typename RangeType, typename DelimiterType, std::enable_if_t< TAnd< TCanAppendRange< RangeType && >, TCanAppend< DelimiterType && >>::Value > *>
BuilderType & Join
(
    RangeType && InRange,
    DelimiterType && InDelimiter
)

Remarks

Append every element of the range to the builder, separating the elements by the delimiter.

This function is only available when the elements of the range and the delimiter can both be written to the builder using the append operator.

Returns

The builder, to allow additional operations to be composed with this one.

Parameters

Parameter

Description

InRange

The range of elements to join and append.

InDelimiter

The delimiter to append as a separator for the elements.