asc

Syntax

int = ASC(text)

Arguments

int: integer

text: text

Meaning

The Unicode value of the first character of text is returned; this means that text may contain (Unicode) characters not available in ASCII. An empty text string returns the value 0.

Example

display ASC('Ω and other special characters')

Result

937

See also

CHR$