StringUtils.ParseInt32Array method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Strings |
---|---|
Assembly | Skybrud.Essentials.dll |
ParseInt32Array(string)
Static
Parses a string of integer values into an array of int . Supported separators are
,
, ,
\r
, \n
and \t
. Values in the list
that can't be converted to int will be ignored.
public static Int32[] ParseInt32Array(string str)
Parameters
str
String
The string of integer values to be parsed.
ParseInt32Array(string, Char[])
Static
Parses a string of integer values into an array of int . Values in the list that can't be converted to int will be ignored.
public static Int32[] ParseInt32Array(string str, Char[] separators)