Method: ChrW for VBS
- Updated2024-09-12
- 1 minute(s) read
Methods > Method: ChrW for VBS
Method: ChrW for VBS
Specifies the character that matches the Unicode character code.
vChrW = Object.ChrW(charcode)
Object | VBS Object with this method. You do not need to specify this object. |
charcode | Variant Specifies the Unicode character code. |
vChrW | Variant Receives the character that matches the Unicode character code. |
The following example displays for various ANSI character codes the respective character:
Call MsgBox(ChrW(65)) ' Returns A Call MsgBox(ChrW(26408)) ' Returns "short_text" lang="ja">"" title="Click to display alternative translations">?