StringUtils.ParseGuidArray method

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

ParseGuidArray(string)

Static

Parses a string of multiple GUIDs into an array of Guid . Supported separators are comma (,), space (), carriage return (\r), new line (\n) and tab (\t).

Values in str that can't be converted to Guid will be ignored.

public static Guid[] ParseGuidArray(string str)

Parameters

str String

The string containing the GUIDs.

Returns

Array of Guid

An array of Guid .

ParseGuidArray(string, Char[])

Static

Parses string of multiple GUIDs into an array of Guid , using the specified array of separators.

Values in str that can't be converted to Guid will be ignored.

public static Guid[] ParseGuidArray(string str, Char[] separators)

Parameters

str String

The string containing the GUIDs.

separators Array of Char

An array of supported separators.

Returns

Array of Guid

An array of Guid .