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
Next revision Both sides next revision
uphp:functions:charat [2017/04/06 11:51]
jeff
uphp:functions:charat [2017/05/09 09:58]
jeff
Line 7: Line 7:
 ====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====
  
-<html><b><span style="color:blue">$str<span style="color:black"></b></html>:  <html><b><span style="color:green">String<span style="color:black"></b></html> 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><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)
Line 30: Line 25:
 ====Return Value==== ====Return Value====
  
-ASCII code (0-255)+<html><b><span style="color:green">Integer<span style="color:black"></b></html> ASCII code (0-255)
  
 ====Example==== ====Example====
uphp/functions/charat.txt · Last modified: 2021/09/13 05:57 (external edit)