So what's the quickest way to tell is a word is all caps in Livecode? I guess there are a lot of ways to skin a cat with this one. This is what I'm tinkering with:
function text_IsCaps someText > put "\b[A-Z]+\b" into someReg > return matchtext (word 1 to -1 of someText, someReg, anyThing) > > repeat for each char testChar in someText > put chartonum (testChar) into someCharNum > if someCharNum >= 65 and someCharNum <= 90 then > return false > end if > end repeat > return true > end text_IsCaps _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode