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/04/06 11:51]
jeff
uphp:functions:chr [2021/09/13 05:57] (current)
Line 3: Line 3:
 <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"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">string <span style="font-size:125%;color:green">string
-<span style="color:black"> +<span style="color:black">chr (
-</html> +
-[[chr]] ( +
-<html>+
 <span style="color:green">int <span style="color:green">int
 <span style="color:blue">$code <span style="color:blue">$code
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 ====Parameter==== ====Parameter====
Line 24: Line 19:
 <html><b><span style="color:blue">$code<span style="color:black"></b></html>:  ASCII code number (0-255) <html><b><span style="color:blue">$code<span style="color:black"></b></html>:  ASCII code number (0-255)
  
-====Return Value====+====Return Values====
  
-A one-character <html><b><span style="color:green">string<span style="color:black"></b></html> containing the ASCII character referenced by code+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====
Line 39: Line 34:
 ====See Also==== ====See Also====
  
-[[ord()]] - Return ASCII code of first character in <html><b><span style="color:green">string<span style="color:black"></b></html>+[[ord()]] - Return the ASCII code for character
  
-[[charat()]] - Return ASCII code for character in <html><b><span style="color:green">string<span style="color:black"></b></html> at index+[[charat()]] - Return the ASCII code for character in <html><b><span style="color:green">string<span style="color:black"></b></html> at an index
  
uphp/functions/chr.1491479490.txt.gz · Last modified: 2021/09/13 05:56 (external edit)