You are here: Re: [PHP] sentence case « PHP « IT news, forums, messages
Re: [PHP] sentence case

Posted by Mattias Thorslund on 02/23/05 21:35

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация