This shows you the differences between two versions of the page.
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 < |
- | [[strtoupper()]] - Return the uppercase | + | [[strtoupper()]] - Return the UPPERCASE |
- | [[substr()]] - Return a sub-string of the passed str from start for len characters. If len is blank it will return the string | + | [[substr()]] - Return |
- | [[ucfirst()]] - Convert a string to lowercase except for the first character | + | [[ucfirst()]] - Convert a < |