This shows you the differences between two versions of the page.
uphp:functions:chr [2017/04/06 11:51] jeff |
uphp:functions:chr [2021/09/13 05:57] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======chr====== | ||
- | |||
- | < | ||
- | |||
- | Return character for an ASCII code | ||
- | |||
- | ====Description==== | ||
- | |||
- | <well size=" | ||
- | < | ||
- | <span style=" | ||
- | <span style=" | ||
- | </ | ||
- | [[chr]] ( | ||
- | < | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | </ | ||
- | </ | ||
- | |||
- | ====Parameter==== | ||
- | |||
- | < | ||
- | |||
- | ====Return Value==== | ||
- | |||
- | A one-character < | ||
- | |||
- | ====Example==== | ||
- | |||
- | <code php> | ||
- | <? | ||
- | $a=chr(65); | ||
- | print($a); // result is ' | ||
- | ?> | ||
- | </ | ||
- | |||
- | ====See Also==== | ||
- | |||
- | [[ord()]] - Return ASCII code of first character in a < | ||
- | |||
- | [[charat()]] - Return ASCII code for character in < | ||