Method SplitTrim
SplitTrim(string, string)
Split string into substrings using separator string
Empty items are removed and existing are trimmed
Declaration
public static string[] SplitTrim(this string str, string separator)
Parameters
Returns
SplitTrim(string, char)
Perform a string split that also trims whitespace from each result and removes duplicats
Declaration
public static IEnumerable<string> SplitTrim(this string text, char separator)
Parameters
Returns
SplitTrim(string, char[])
Perform a string split that also trims whitespace from each result and removes duplicats
Declaration
public static IEnumerable<string> SplitTrim(this string text, char[] separator)
Parameters
Type |
Name |
Description |
string |
text |
|
char[] |
separator |
|
Returns