This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:functions:chr [2017/02/20 10:25] jeff created |
uphp:functions:chr [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
======chr====== | ======chr====== | ||
- | < | ||
- | Return character for an ASCII code | + | < |
+ | |||
+ | Return | ||
====Description==== | ====Description==== | ||
+ | |||
<well size=" | <well size=" | ||
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
</ | </ | ||
- | ====Parameters==== | + | ====Parameter==== |
- | < | + | |
- | ====Return | + | < |
- | A one-character string containing the ASCII character referenced by code | + | |
+ | ====Return | ||
+ | |||
+ | A one-character | ||
====Example==== | ====Example==== | ||
- | <code php><? | + | |
- | $a=chr(65); | + | <code php> |
- | print($a); //result is ' | + | <? |
- | ?></ | + | $a=chr(65); |
+ | print($a); // result is ' | ||
+ | ?> | ||
+ | </ | ||
====See Also==== | ====See Also==== | ||
- | [[ord()]] - Return ASCII code of first character in a string | ||
- | [[charat()]] - Return ASCII code for character in string at index | + | [[ord()]] - Return the ASCII code for a character |
+ | |||
+ | [[charat()]] - Return | ||