VBScript Chr Function
The Chr function converts the specified ANSI character code to a character.
Note: Numbers between 0 and 31 represent non-printable ASCII codes, such as Chr(10) which returns a newline character.
Syntax
| Parameter | Description |
|---|---|
| charcode | Required. A number that identifies a character. |
Example
Example 1
Output of the above example:
Example 2
Output of the above example: