Syntax:
String Chr(Integer charcode)
Parameters:
charcode | (Integer) number that identifies a character |
---|
Note:
Numbers from 0 to 31 are the same as standard, nonprintable
ASCII codes. Some of these codes are also accessible directly by means of
VBScript string constants.
Example:
VBScriptSelect and copy to clipboard
Dim s
s = Chr(65)
' Returns A
s = Chr(97)
' Returns a
s = Chr(62)
' Returns >
s = Chr(34)
' Returns "