Vocola.net
Vocola 3.1 Function Library
Split(s, separator, index)
Namespaces LibraryString ► Split
Splits a given string using a specified separator, then returns a specified element of the resulting substrings.
Syntax
Split(s, separator, index)
Parameters
s
String to operate on.
separator
A string to delimit substrings in s. Case sensitive.
index
Index of desired substring in list of split substrings. 0 denotes the first substring, 1 denotes the second substring, etc. -1 denotes the last substring, -2 denotes the second to last substring, etc.
Return Value
The indexth substring after splitting s using separator.
Remarks
separator is not included in the returned string.

If separator is an empty string, white space characters are assumed to be the delimiters.

If two delimiters are adjacent or a delimiter is found at the beginning or end of s, the substring list contains an empty element.

Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)