testing on case

Scott Rossi scott at tactilemedia.com
Thu Dec 9 14:12:01 EST 2004


>> Are you trying to test the first letter only, or the entire string?
>> The proposals so far only test the first character of the string.  If
>> you need the whole thing to be uppercase:

Not sure if someone already tossed this solution out:

 function caseTest tString
   set the caseSensitive to true
   if tString = toUpper(tString) then
    return true
   else return false
 end caseTest

Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list