xtd 0.2.0
Loading...
Searching...
No Matches

◆ join() [1/3]

template<typename collection_t >
static ustring xtd::ustring::join ( const ustring  separator,
const collection_t &  values 
)
inlinestaticnoexcept

Concatenates a specified separator string between each element of a specified object array, yielding a single concatenated string.

Parameters
separatorA string separator.
valuesAn array of Object.
Returns
A string consisting of the elements of value interspersed with the separator string.
Remarks
For example if separator is ", " and the elements of value are "red", "blue", "green", and "yellow", Join(separator, value) returns "red, blue, green, yellow".
stream << operator is called on each object to generate the content.
Examples
test_forms.cpp, and uri.cpp.