User Tools

Site Tools


uphp:functions:chr

Differences

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

Link to this comparison view

uphp:functions:chr [2017/03/01 13:05]
jeff
uphp:functions:chr [2021/09/13 05:57]
Line 1: Line 1:
-======chr====== 
-<badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> 
- 
-Return character for an ASCII code 
- 
-====Description==== 
-<well size="sm"><html><span style="font-size:125%;color:green;">string 
-<span style="color:black;"></html>[[chr]] 
-<html>( 
-<span style="color:green;">int 
-<span style="color:blue;">$code 
-<span style="color:black;">) 
-</html></well> 
- 
-====Parameters==== 
-<html><span style="color:blue;"><b>code</b><span style="color:black;"></html>:  ASCII code number (0-255) 
- 
-====Return Value==== 
-A one-character string containing the ASCII character referenced by code 
- 
-====Example==== 
-<code php><? 
-$a=chr(65); 
-print($a); //result is 'A' which is the ASCII character number 65 
-?></code> 
- 
-====See Also==== 
-[[ord()]] - Return ASCII code of first character in a string 
- 
-[[charat()]] - Return ASCII code for character in string at index 
  
uphp/functions/chr.txt · Last modified: 2021/09/13 05:57 (external edit)