Name
Asc, AscW Functions — Microsoft.VisualBasic.Strings
Synopsis
Asc(string
) AscW(str
)
string
,str
required; String or CharAny expression that evaluates to a nonempty string
Return Value
An Integer that represents the character code of the first character of the string; the range for the returned value is 0 - 255 on nonDBCS systems, and -32768 to 32767 on DBCS systems
Description
Returns an Integer representing the character code for the first character of the string passed to it. All other characters in the string are ignored.
Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.