User Tools

Site Tools


uphp:functions:charat

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:charat [2017/04/12 12:54]
jeff
uphp:functions:charat [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 ASCII code for character in <html><b><span style="color:green">string<span style="color:black"></b></html> at index+Return the ASCII code for character in <html><b><span style="color:green">string<span style="color:black"></b> at an <b><span style="color:blue">index</b></html>
  
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
-<span style="color:black"> +<span style="color:black">charat (
-</html> +
-[[charat]] ( +
-<html>+
 <span style="color:green">string <span style="color:green">string
 <span style="color:blue">$str<span style="color:black">,  <span style="color:blue">$str<span style="color:black">, 
Line 19: Line 15:
 <span style="color:blue">$index <span style="color:blue">$index
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 ====Parameters==== ====Parameters====
Line 28: Line 23:
 <html><b><span style="color:blue">$index<span style="color:black"></b></html>:  Index into string (the first character in the string is index = 0) <html><b><span style="color:blue">$index<span style="color:black"></b></html>:  Index into string (the first character in the string is index = 0)
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html> ASCII code (0-255) <html><b><span style="color:green">Integer<span style="color:black"></b></html> ASCII code (0-255)
Line 44: Line 39:
 ====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
  
-[[chr()]] - Return character for an ASCII code+[[chr()]] - Return the character for an ASCII code
  
uphp/functions/charat.1492001654.txt.gz · Last modified: 2021/09/13 05:56 (external edit)