Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Asc - function of language VBScript

Description:
Returns the ANSI character code corresponding to the first letter in a string.
Syntax:
Asc(string As String) As Integer
Calling:
n = Asc(string)
Parameters:
string(String) Any valid string expression. If the string contains no characters, a runtime error occurs.
Example:
Dim n
n = Asc("A") ' Returns 65
n = Asc("a") ' Returns 97
n = Asc("Apple") ' Returns 65
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice