Declaration
public static string[] SplitNoEmpty(
this string str,
params string[] separator
)
Summary
Returns a string array that contains the substrings in this string that are delimited by elements of a
specified string array. Empty items (zero-length strings) are filtered out.
Parameters
this string | str |
String to be split. |
string[] | separator |
Strings that delimit the substrings in this string. |
Returns
An array whose elements contain the substrings in this string that are delimited by one or more strings in
separator. For more information, see the Remarks section.