This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:functions:trim [2021/11/12 11:17] admin created |
uphp:functions:trim [2021/11/12 11:21] (current) admin |
||
---|---|---|---|
Line 25: | Line 25: | ||
Whitespace characters are: | Whitespace characters are: | ||
^Character^Description^ | ^Character^Description^ | ||
- | |||
|' ' | |' ' | ||
|' | |' | ||
- | |' | + | |' |
|' | |' | ||
|' | |' | ||
- | |' | + | |' |
====Example==== | ====Example==== | ||
Line 37: | Line 36: | ||
<code php> | <code php> | ||
<? | <? | ||
- | $str="Mary Had A Little Lamb and She LOVED It So"; | + | $str=" |
- | $str=ucfirst($str); | + | $str=trim($str); |
- | print($str); | + | print($str); |
?> | ?> | ||
</ | </ | ||
- | ====Note==== | ||
- | |||
- | This uPHP function is not exactly like the mainline PHP function [[http:// | ||
====See Also==== | ====See Also==== |