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

◆ split() [3/5]

std::vector< ustring > xtd::ustring::split ( const std::vector< value_type > &  separators) const
noexcept

Splits this string into substrings that are based on the characters in an array.

Parameters
separatorsA character array that delimits the substrings in this string, an empty array that contains no delimiters.
Returns
An array whose elements contain the substrings in this string that are delimited by one or more characters in separators. For more information, see the Remarks section.
Remarks
Delimiter characters are not included in the elements of the returned array.
If the specified string does not contain any of the characters in separator, or the count parameter is 1, the returned array consists of a single element that contains the specified string.