FORMULA LANGUAGE


@Ascii
Example

Converts an LMBCS (Lotus Multi-Byte Character Set) string to an ASCII string.

Syntax

@Ascii( string )
@Ascii(
string ; [ALLINRANGE] )

Parameters

string


[ALLINRANGE]
Return value

newString


Usage

If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements.

@Ascii first converts the string into ASCII-compliant characters, replacing any unrepresented characters with question marks, and then, if [ALLINRANGE] is True, checks for question marks within the string. This means that if the original string contains a question mark and [ALLINRANGE] is specified, a null string is returned even if the entire string can be represented by ASCII codes 32-127.

Example