You are here: Re: Determine if string is all uppercase? « All PHP « IT news, forums, messages
Re: Determine if string is all uppercase?

Posted by Angela on 10/01/07 03:16

peter wrote:
>> ctype_upper()
>
> Just a note. That method only works if the string comprises only of letters
> (will return false if a space or a number is in the string for example
> regardless of whether all letters are uppercase)
>
>

Thanks for the help, will try it out

Here are the string I am getting (users are submitting)
Wanting to determine if all words in the string are uppercase

"SELLING NOKIA N95 AT $270, NOKIA E90 COMMUNICATOR AT $300, 8GB APPLE
IPHONE"

"FOR SALE BRAND NEW APPLE IPHONE 8GB"

etc

 

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

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