For a string, do reFind("^[[:upper:]]+$", str), works for a single character too


Pascal


-----Oorspronkelijk bericht-----
Van: Mike Townend [mailto:[EMAIL PROTECTED]
Verzonden: wo 22/10/2003 13:55
Aan: CF-Talk
CC:
Onderwerp: RE: VB Functions --> Coldfusion?

but this would only really work with 1 char strings as "jediHomer" will
return a positive value... something like


<CFIF Len(REReplace(sString, "[[:lower:]]", "", "ALL")) EQ Len(sString)>


would then tell you if the whole string was upper or lower.




[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to