StringUtils.ParseInt64Array method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings
Assembly Skybrud.Essentials.dll

ParseInt64Array(string)

Static

Parses a string of numeric values into an array of long . Supported separators are ,, , \r, \n and \t. Values in the list that can't be converted to long will be ignored.

public static Int64[] ParseInt64Array(string str)

Parameters

str String

The string of numeric values to be parsed.

Returns

Array of long

An array of long .

ParseInt64Array(string, Char[])

Static

Parses a string of numeric values into an array of long . Values in the list that can't be converted to long will be ignored.

public static Int64[] ParseInt64Array(string str, Char[] separators)

Parameters

str String

The string of numeric values to be parsed.

separators Array of Char

An array of supported separators.

Returns

Array of long

An array of long .