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

 

Syntax:

value = ASCIIToCharacters( expression )

OR

value = Chr( expression )     '   Short form usage: "Chr"

 

Parameter:

Description:

expression

Any ASCII character value, or a list of comma separated ASCII values

value

String which corresponds with the numeric ASCII codes.

 

Standard ASCII Table:

This is the Standard ASCII table for converting text to an ASCII value, and for using the Chr() function to convert the ASCII number to a text character.

Click to Expand, Click to Reduce.

ASCII Character Reference Table

 

Example:

value = ASCIIToCharacters( 65 ) '  Returns "A"
value = ASCIIToCharacters( 97 ) '  Returns "a"
value = Chr( "65" )             '  Returns "A"
value = Chr( 72, 97, 116 )       '  Returns "Hat"

 

Results:

See example comments.

 

Links:

ASCII, Character to ASCII to Character

See Also:

Data Groups and Types

 


Edit Time: 9/18/2020 1:32:03 PM


Topic ID#: 40

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software