This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:charat [2017/03/28 20:05] jeff |
uphp:functions:charat [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
======charat====== | ======charat====== | ||
+ | |||
< | < | ||
- | Return ASCII code for character in string at index | + | Return |
====Description==== | ====Description==== | ||
- | <well size=" | + | |
- | <span style=" | + | <well size=" |
- | < | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
+ | <span style=" | ||
</ | </ | ||
====Parameters==== | ====Parameters==== | ||
- | < | ||
- | < | + | <html><b>< |
- | ====Return | + | < |
- | ASCII code (0-255) | + | |
+ | ====Return | ||
+ | |||
+ | < | ||
====Example==== | ====Example==== | ||
+ | |||
<code php> | <code php> | ||
<? | <? | ||
Line 33: | Line 38: | ||
====See Also==== | ====See Also==== | ||
- | [[ord()]] - Return ASCII code of first character in a string | ||
- | [[chr()]] - Return character for an ASCII code | + | [[ord()]] - Return the ASCII code for a character |
+ | |||
+ | [[chr()]] - Return | ||