Function that returns the Unicode (wide) character code that represents a specific Unicode character.

      AscW (string)

AscW ("A") will return 65


Dim intDemo
intDemo = AscW ("A")
MsgBox intDemo
> 65

“I've nothing much to offer, There's nothing much to take, I'm an absolute beginner” ~ David Bowie

Related VBScript commands

Asc - Return ASCII code for string.
AscB - Instead of returning the character code for the first character, AscB returns the first byte.
Chr - Return the string character for ChrCode (ASCII code).

Copyright © 1999-2023
Some rights reserved