XLL+ Class Library (6.3)

CHandleFormatter<T>::Join

Joins a set of strings, using a specified character (by default, a colon) as separator.

std::tstring Join(
   const std::vector<std::tstring>& parts
);

Parameters

parts

A vector of strings. Each of these will be concatenated, separated by the separator character specified to the constructor (by default, a colon). None of the part strings should contain the separator character.

Return Value

Returns a single string containing the concatenated parts, separated by the separator character specified in the constructor.

Requirements

Header: rtdhandles.h

See Also

CHandleFormatter<T> Class | CHandleFormatter<T> Methods | CHandleFormatter_Split