This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:functions:ord [2017/05/11 09:49] admin created |
uphp:functions:ord [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
< | < | ||
- | Return the ASCII character number | + | Return the ASCII code for a < |
====Description==== | ====Description==== | ||
Line 11: | Line 11: | ||
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
- | <span style=" | + | <span style=" |
<span style=" | <span style=" | ||
</ | </ | ||
Line 17: | Line 17: | ||
====Parameter==== | ====Parameter==== | ||
- | < | + | < |
- | ====Return | + | ====Return |
- | ASCII code number (0-255) of the passed | + | < |
====Example==== | ====Example==== | ||
Line 29: | Line 29: | ||
$a=chr(65); | $a=chr(65); | ||
$o=ord($a); | $o=ord($a); | ||
- | print(" | + | print(" |
?> | ?> | ||
</ | </ | ||
Line 35: | Line 35: | ||
====See Also==== | ====See Also==== | ||
- | [[ord()]] - Return ASCII code of first character in a < | + | [[chr()]] - Return |
- | [[charat()]] - Return ASCII code for character in < | + | [[charat()]] - Return |