Re: 'ucfirst' function for text area strings?
| From: | 1LT John W. Holmes | Date: | Tue, 28 May 2002 18:27:48 +0000 |
| Subject: | Re: 'ucfirst' function for text area strings? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99525@lists.php.net to get a copy of this message | ||
Put a text box for each sentence.
---John Holmes...
----- Original Message -----
From: "Miguel Cruz" <mnc@stoic.net>
To: <php-general@lists.php.net>
Sent: Tuesday, May 28, 2002 2:19 PM
Subject: Re: [PHP] 'ucfirst' function for text area strings?
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
yes...I was just kidding. :)