Difference between revisions of "$chr"
From Scriptwiki
(ascii table and more examples needed..) |
(wouldnt know what to say) |
||
Line 1: | Line 1: | ||
Returns the character with ascii number N. | Returns the character with ascii number N. | ||
$chr(N) | $chr(N) | ||
− | + | ||
+ | |||
+ | == Example == | ||
+ | [[echo]] -a $chr(65) | ||
+ | This example would return the character with the ASCII-code 65. That is an 'A'. | ||
+ | |||
== See Also == | == See Also == | ||
Line 7: | Line 12: | ||
− | |||
− | |||
[[Category:Text_and_Number_Identifiers]] | [[Category:Text_and_Number_Identifiers]] |
Revision as of 16:41, 2 April 2006
Returns the character with ascii number N.
$chr(N)
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.