Afficher un message
Vieux 01/10/2007, 04h16   #5
Angela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Determine if string is all uppercase?

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 , 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
  Réponse avec citation
 
Page generated in 0,05180 seconds with 9 queries