Re: 'ucfirst' function for text area strings?

From: Date: Tue, 28 May 2002 18:19:19 +0000
Subject: Re: 'ucfirst' function for text area strings?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99520@lists.php.net to get a copy of this message
On Tue, 28 May 2002, Andre Dubuc wrote: > 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? What are you going to do about abbreviations? "The General Electric Corp. was represented at the meeting." miguel

« previous php.general (#99520) next »