StringUtils.ParseStringArray method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Strings |
---|---|
Assembly | Skybrud.Essentials.dll |
ParseStringArray(string)
Static
Parses string of multiple values into an array of String . Supported separators are
comma (,
), space (), carriage return (
\r
), new line (\n
) and tab (\t
).
Empty entries are automatically removed from the output array.
public static String[] ParseStringArray(string str)
Parameters
str
String
The string containing the values.
ParseStringArray(string, Char[])
Static
Parses string of multiple values into an array of String , using the specified array of
separators
.
Empty entries are automatically removed from the output array.
public static String[] ParseStringArray(string str, Char[] separators)