$chr » History » Version 3
Per Amundsen, 08/12/2015 10:52 PM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | *$chr(N)* |
||
4 | |||
5 | 2 | Per Amundsen | Returns the character with "ASCII":http://www.asciitable.com/ value N. |
6 | 1 | Per Amundsen | |
7 | 3 | Per Amundsen | _Also see [[$asc]] for the reversed version._ |
8 | |||
9 | 1 | Per Amundsen | *Parameters* |
10 | |||
11 | 2 | Per Amundsen | N - the "ASCII":http://www.asciitable.com/ value. |
12 | 1 | Per Amundsen | |
13 | *Example* |
||
14 | |||
15 | <pre> |
||
16 | 2 | Per Amundsen | ;Returns ASCII character A |
17 | 1 | Per Amundsen | //echo -ag $chr(65) |
18 | |||
19 | 2 | Per Amundsen | ;Returns ASCII character * |
20 | 1 | Per Amundsen | //echo -ag $chr(42) |
21 | </pre> |