Asc

Determines the value of a character.

Returns: number

Usage

Asc( string [, position ] )

Arguments

Argument Description Default
string
(string, required)

A string

position
(number, optional)

Position of the character

1

Examples

dump(Asc("Pascal Groß")); // 80
dump(Asc("Pascal Groß",11)); // 223

See also