Click or drag to resize
DataHelperGetPartialValue Method
Gets value from string that has values separated by separator.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string GetPartialValue(
	string values,
	string separator,
	int index,
	string defaultValue
)

Parameters

values
Type: SystemString
String values
separator
Type: SystemString
Separator (for example: ';')
index
Type: SystemInt32
Index in split string array
defaultValue
Type: SystemString
Default value

Return Value

Type: String
See Also