Click or drag to resize
ConversionStringToStringList Method
Create a List of string from a string

Namespace: ToolBoox
Assembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static List<string> StringToStringList(
	string list,
	char separator,
	bool allowDuplicates
)

Parameters

list
Type: SystemString
String object with list of string (es: "name,lastname,address")
separator
Type: SystemChar
Separator to use (es: ',')
allowDuplicates
Type: SystemBoolean
The returned list contains duplicated values or not

Return Value

Type: ListString
Returned list of string objects
See Also