Re: sentence case
| From: | Mattias Thorslund | Date: | Wed, 23 Feb 2005 19:35:21 +0000 |
| Subject: | Re: sentence case | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209287@lists.php.net to get a copy of this message | ||
Leif Gregory wrote:
Hello Chris, Wednesday, February 23, 2005, 11:49:32 AM, you wrote: C> And on top of that he'll need to convert all 'i' to 'I' because of C> step 1. You and Mattias both have valid points. The only other thing I can think of is a regexp that is searching for a period and a space then does a ucwords() on the following word, but that's a lot of work to pull things apart like that! <grin> Could be done, still.Oh, and sentences may end with other characters, too. Notably "!" and "?". -- More views at http://www.thorslund.us