Function to Upper and Lower Case sentences

dunbarx at dunbarx at
Wed Dec 21 16:00:42 EST 2011

Try something like this:

on mouseUp
   get fld "yourField"
   put toLower(it) into it
   repeat for each word tWord in it
      put toUpper(char 1 of tWord) into char 1 of tWord
   end repeat
   put it into fld "yourField"
end mouseUp

-----Original Message-----
From: Sivakatirswami <katir at>
To: How to use LiveCode <use-livecode at>
Sent: Wed, Dec 21, 2011 10:45 am
Subject: Function to Upper and Lower Case sentences

I have a need to take all caps input  and

1) Lower case all but first letter of sentences

2) Upper case words in a small dictionary I will provide to the function.

As anyone cooked up something like this already... if I just had 1) can 
manage 2)

Happy Holidays!

Om Shanti

Kauai Aadheenam

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription 


More information about the Use-livecode mailing list