AscW

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

Syntax
      AscW (string)

AscW ("A") will return 65

Examples

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-2024 SS64.com
Some rights reserved