'ucfirst' function for text area strings?
| From: | Andre Dubuc | Date: | Tue, 28 May 2002 15:58:05 +0000 |
| Subject: | 'ucfirst' function for text area strings? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99500@lists.php.net to get a copy of this message | ||
Is there a way to get a function similar to 'ucfirst' to work with the first
letters of a set of strings in textarea strings?
******************************************************
Inputted strings:
"hi. i hope there is one. any ideas?"
Should appear:
"Hi. I hope there is one. Any ideas?"
******************************************************
Would it be possible to do a 'foreach' 'ucfirst' type of statement while
reading a string and breaking it apart at punctuation marks?
Any suggestions will be greatly appreciated. This one's got me stumped.
Tia,
Andre
--
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the Holy Souls in Purgatory.
May God bless you abundantly in His love!
For a free Cenacle Scriptural Rosary Booklet: http://www.webhart.net/csrb/