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/03/31 13:25]
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 string at index+Return the ASCII code for character in a <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"><html><span style="font-size:125%;color:green">int +<well size="sm"><html> 
-<span style="color:black"></html>[[charat]] +<span style="font-size:125%;color:green">int 
-<html>(+<span style="color:black">charat (
 <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 19:
 ====Parameters==== ====Parameters====
  
-<html><span style="color:blue"><b>$str</b><span style="color:black"></html>:  String to get character from+<html><b><span style="color:blue">$str<span style="color:black"></b>:  <b><span style="color:green">String<span style="color:black"></b> to get character from</html>
  
-<html><span style="color:blue"><b>$index</b><span style="color:black"></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====
  
-ASCII code (0-255)+<html><b><span style="color:green">Integer<span style="color:black"></b></html> ASCII code (0-255)
  
 ====Example==== ====Example====
Line 39: Line 39:
 ====See Also==== ====See Also====
  
-[[ord()]] - Return ASCII code of first character in string+[[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.1490966745.txt.gz · Last modified: 2021/09/13 05:56 (external edit)