ascii

Description

Syntax

INT AXES (WARCHAR STR)

Returns the ASCII code corresponding to the first character of the string

example

1. mysql> select ascii('1');
2. +------------+
3. | ascii('1') |
4. +------------+
5. |         49 |
6. +------------+

8. mysql> select ascii('234');
9. +--------------+
10. | ascii('234') |
11. +--------------+
12. |           50 |
13. +--------------+

keywords

1. ASCII