Case$

combit List & Label Designer

combit List & Label

Case$

Purpose:

Converts a number, dependant upon the value, into a string. Assignment is made with a formatting string that contains the replacement string for the number values in ascending order.

Parameter:

Number       Number to be converted (n). The n-th value of the string will be copied to the return value string. If enough values do not exist, the string will remain empty.

String          Collection of strings separated by a particular character. If a third parameter does not exist, this is the "|" character, otherwise the first character of this parameter.

String          (optional) Separator for the formatting string (default: "|")

Return value:

String

Example:

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

Result: "III", if Page() = 3