Splits this string into a maximum number of substrings based on the characters in an array.
- Parameters
-
separators | A character array that delimits the substrings in this string, an empty array that contains no delimiters. |
count | The maximum number of substrings to return. |
options | xtd::string_split_options::remove_empty_entries to omit empty array elements from the array returned; or None to include empty array elements in the array returned. |
- 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.
- Examples
- split.cpp.