Converting to title case

Andre Garzia andre at
Wed Aug 25 13:44:01 CDT 2010


why not this:

put fld "list" into tContent

repeat for each word tName in tContent
  replace tName with (toUpper(char 1 of tName) & toLower(char 2 to -1 of
end repeat

This will capitalize all your names right?

-- All We Do Is Code.

More information about the use-livecode mailing list