Subject: Re: Stripping blank spaces before and after a word. Help
Ken Ray
kray at sonsothunder.com
Thu Nov 2 15:48:17 EST 2006
On 11/2/06 11:04 AM, "Dave Herndon" <herndogy at sbcglobal.net> wrote:
> Thanks Mark,
> I settled on this and it works SWEEEET ! Thanks For your help. Now to
> finish it up. Anybody have a good way to convert all text in a list to ALL
> CAPS? It would be nice to get a consistent look in the database. Here is the
> script I settled on.
>
> repeat with x = 1 to the number of items of MyList
> put word 1 to -1 of item x of Mylist into item x of Mylist
> end repeat
Try this:
repeat with x = 1 to the number of items of MyList
put toUpper(word 1 to -1 of item x of Mylist) into item x of Mylist
end repeat
Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list