Functions

csNthField

Supported By

Syntax

[the] csNthField of ( string , delimiter , index )

csNthField ( string , delimiter , index )

String and delimiter yield strings. Index yields an integer.

Description

The csNthField function returns a chunk of the specified string delimited by the specified delimiter. Index starts at 1.

If index is less than 1 or greater than csCountFields(string, delimiter), empty is returned.

The delimiter is case-sensitive. For a case-insensitive version of this function, see nthField. For a regular expression-based version of this function, see regNthField.

See Also

nthField, countFields, csCountFields