Returns the position of a character in the ASCII collating sequence.
Category: | String |
Returned data type: | Integer |
ASC(string)
string
a string that represents the character that needs to be found in the ASCII collating sequence; this can be specified as character constant, field name, or expression
Restriction: | If multiple characters are specified only the first character is used. |
ascii_value = asc("a") // outputs 97
character_content = chr(97) // outputs the letter "a"