CHR Function
Returns the character associated with the specified ANSI character code.
CHR(expression)
Arguments
expression Integer - The expression argument is a number that identifies a character. Numbers from 0 to 31 are the same as standard, nonprintable ASCII codes.
Remarks
This function returns an string value. For example, Chr(10) returns a linefeed character.
Example
The following example uses the Chr function to return the character associated with the specified character code:
Dim Result as string
Result = Chr(65) // Returns A.
Result = Chr(97) // Returns a.
Result = Chr(62) // Returns >.
Result = Chr(37) // Returns %.