User Tools

Site Tools


uphp:functions:strrpos

Differences

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

Link to this comparison view

Next revision
Previous revision
uphp:functions:strrpos [2017/05/26 15:00]
jeff created
uphp:functions:strrpos [2021/09/13 05:57] (current)
Line 31: Line 31:
 Note that string positions start at 0, and not 1. Note that string positions start at 0, and not 1.
  
-====Examples====+====Example====
  
 <code php> <code php>
Line 51: Line 51:
 [[strpos()]] - Return the position of the first occurrence of a needle in a haystack [[strpos()]] - Return the position of the first occurrence of a needle in a haystack
  
-[[strtolower()]] - Return the lowercase version of a string+[[strtolower()]] - Return the lowercase version of a <html><b><span style="color:green">string</b></html>
  
-[[strtoupper()]] - Return the uppercase version of a string+[[strtoupper()]] - Return the UPPERCASE version of a <html><b><span style="color:green">string</b></html>
  
-[[substr()]] - Return a sub-string of the passed str from start for len characters. If len is blank it will return the string until the end.+[[substr()]] - Return part of <html><b><span style="color:green">string</b></html>
  
-[[ucfirst()]] - Convert a string to lowercase except for the first character of each word+[[ucfirst()]] - Convert a <html><b><span style="color:green">string<span style="color:black"></b></html> to lowercase except for the first character
  
uphp/functions/strrpos.1495810811.txt.gz · Last modified: 2021/09/13 05:56 (external edit)