TStringBuilderBase::JoinQuoted

Append every element of the range to the builder, separating the elements by the delimiter, and surrounding every element on each side with the given quote.

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, typename QuoteType, std::enable_if_t< TAnd< TCanAppendRange< RangeType >, TCanAppend< DelimiterType && >, TCanAppend< QuoteType && >>::Value > *>
BuilderType & JoinQuoted
(
    RangeType && InRange,
    DelimiterType && InDelimiter,
    QuoteType && InQuote
)

Remarks

Append every element of the range to the builder, separating the elements by the delimiter, and surrounding every element on each side with the given quote.

This function is only available when the elements of the range, the delimiter, and the quote can 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.

InQuote

The quote to append on both sides of each element.