Case$

Purpose:

Returns a substring of the second argument according to the value of the first argument (0-based). If not enough values exist, the string is empty.

Parameter:

Number       Position.

String          String in which individual parts are separated by "|" (or by the separator in the third parameter).

String          (optional) Separator. Default: "|".

Return value:

String

Example:

Case$(4,"0|I|II|III|IV|V|VI|VII|VIII|IX|X")          Result: "IV"