User Tools

Site Tools


uphp:functions:chr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:chr [2017/03/31 12:46]
jeff
uphp:functions:chr [2021/09/13 05:57] (current)
Line 1: Line 1:
 ======chr====== ======chr======
 +
 <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
-Return character for an ASCII code+Return the character for an ASCII <html><b><span style="color:blue">code</b></html>
  
 ====Description==== ====Description====
-<well size="sm"><html><span style="font-size:125%;color:green">string + 
-<span style="color:black"></html>[[chr]] +<well size="sm"><html> 
-<html>(+<span style="font-size:125%;color:green">string 
 +<span style="color:black">chr (
 <span style="color:green">int <span style="color:green">int
 <span style="color:blue">$code <span style="color:blue">$code
Line 14: Line 16:
  
 ====Parameter==== ====Parameter====
-<html><span style="color:blue"><b>$code</b><span style="color:black"></html>:  ASCII code number (0-255) 
  
-====Return Value==== +<html><b><span style="color:blue">$code<span style="color:black"></b></html>:  ASCII code number (0-255) 
-A one-character string containing the ASCII character referenced by code+ 
 +====Return Values==== 
 + 
 +A one-character <html><b><span style="color:green">string<span style="color:black"></b></html> containing the ASCII character referenced by <html><b><span style="color:blue">code</b></html>
  
 ====Example==== ====Example====
 +
 <code php> <code php>
 <? <?
Line 28: Line 33:
  
 ====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 the ASCII code for character in a <html><b><span style="color:green">string<span style="color:black"></b></html> at an index
  
uphp/functions/chr.1490964396.txt.gz · Last modified: 2021/09/13 05:56 (external edit)