Asc Function

Syntax

Asc(S$)

Group

String

Description

Returns the ASCII value.

NOTE: A similar function, AscW, returns the Unicode value. Another similar function, AscB, returns the first byte in S$.
Parameters Description
S$ Return the ASCII value of the first char in this string value.

See also

Chr$( )


Sub Main
    Debug.Print Asc("A") ' 65
End Sub