This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:functions:strtolower [2017/05/26 15:37] jeff created |
uphp:functions:strtolower [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 11: | Line 11: | ||
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
- | <span style=" | + | <span style=" |
<span style=" | <span style=" | ||
</ | </ | ||
- | This function converts all alphabetic characters in < | + | This function converts all alphabetic characters in < |
====Parameter==== | ====Parameter==== | ||
- | < | + | < |
====Return Values==== | ====Return Values==== | ||
- | Lowercase | + | lowercase |
====Example==== | ====Example==== | ||
Line 31: | Line 31: | ||
$str=" | $str=" | ||
$str=strtolower($str); | $str=strtolower($str); | ||
- | print $str; // Prints "mary had a little lamb and she loved it so" | + | print($str); // Prints "mary had a little lamb and she loved it so" |
?> | ?> | ||
</ | </ | ||
Line 47: | Line 47: | ||
[[strtoupper()]] - Return the UPPERCASE version of a < | [[strtoupper()]] - Return the UPPERCASE version of a < | ||
- | [[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 < | + | [[ucfirst()]] - Convert a < |