StringUtils.ParseFloatArray method

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

ParseFloatArray(string)

Static

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

public static Single[] ParseFloatArray(string str)

Parameters

str String

The string of float values to be parsed.

Returns

Array of Single

An array of Single .

ParseFloatArray(string, Char[])

Static

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

public static Single[] ParseFloatArray(string str, Char[] separators)

Parameters

str String

The string of float values to be parsed.

separators Array of Char

An array of supported separators.

Returns

Array of Single

An array of Single .