$chr

From Scriptwiki
Revision as of 10:03, 2 July 2007 by Cail (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the character with ascii number N.

$chr(N)

To get a list of all ascii chars and ascii numbers, take a look at http://www.lookuptables.com/.

Example

echo -a $chr(65) 

This example would return the character with the ASCII-code 65. That is an 'A'.

See Also

  • $asc returns the ascii number of a character.