ASCIIToCharacters Function

Top  Previous  Next

Converts its parameters from integers to corresponding ASCII characters and returns the string composed of these characters.

 

Short form: "chr".

 

Syntax

 

value = ASCIIToCharacters( expression, list )

 

Parameters

expression list

 

any list of expressions separated by commas

 

 

 

returns

 

the string which corresponds with the numeric ASCII codes

 

Examples

This function can accept any number of parameters.

 

value = ASCIIToCharacters( 65 )              ' Returns "A"

value = ASCIIToCharacters( 97 )              ' Returns "a"

value = ASCIIToCharacters( "65" )            ' Returns "A"

value = ASCIIToCharacters( 72, 97, 116 )     ' Returns "Hat"