This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:strpos [2017/05/26 15:00] jeff |
uphp:functions:strpos [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: | ||
[[strrpos()]] - Return the position of the last occurrence of a needle in a haystack | [[strrpos()]] - Return the position of the last 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 < |