Previous Topic

Next Topic

Asc - SQL Function

Asc(String: String): Number

Returns a number representing the ASCII character code of the first character in string. If string is empty, a run-time error occurs.

See also the ASCII Code table.

Asc function syntax has these named arguments:

Parameter

Description

String

Required. String to return the ASCII code for the first character for.

For example:

  Asc("abc")

Returns: 97

See Also

SQL String Functions

Book Contents

Book Index