See Also
Description
Returns the ANSI character code corresponding to the first letter in a string.
Syntax
Asc(string)
The string argument is any valid
string expression. If the string contains no characters, a
run-time error occurs.
Remarks
Note Another function (AscB) is provided for use with byte data contained in a string. Instead of returning the character code for the first character, AscB returns the first byte. AscW is provided for 32-bit platforms that use Unicode characters. It returns the Unicode (wide) character code, thereby avoiding the conversion from Unicode to ANSI.
© 1996 by Microsoft Corporation.
file: /Techref/language/asp/vbs/vbscript/33.htm,
2KB, , updated: 1996年11月22日 11:12, local time: 2025年9月20日 23:41,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/techref/language/asp/vbs/vbscript/33.htm"> Microsoft® Visual Basic® Scripting Edition </A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.