This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
uphp:functions:trim [2021/11/12 11:18] admin |
uphp:functions:trim [2021/11/12 11:21] (current) admin |
||
---|---|---|---|
Line 36: | 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==== |