Method ParseFourFloats
ParseFourFloats(string?, IFormatProvider?)
Parses string with four float values separated by the comma character or other separator. All whitespaces and brackets are trimmed before parsing is done.
public static (float, float, float, float) ParseFourFloats(string? source, IFormatProvider? formatProvider = null)
Parameters
source
stringString to parse.
formatProvider
IFormatProviderOptional IFormatProvider with string format settings. If not specified, InvariantEnglishUS is used.