Chr
Returns a string containing the character associated with a given character code.
Chr
Converts an ASCII character code to its corresponding character.
Syntax
Chr(charCode)
Parameters
| Parameter | Type | Description |
|---|---|---|
| charCode | Integer | A numeric expression in the range 0–255 representing the character code. |
Return Value
String — a single-character string corresponding to charCode.
Example
Print Chr(65) ' Output: A
Print Chr(97) ' Output: a