TRIM command?

Brian Yennie briany at qldlearning.com
Thu May 18 17:02:40 EDT 2006


This script should do the trick:

repeat while (char 1 of myString = space)
     delete char 1 of myString
end repeat

repeat while (char -1 of myString = space)
     delete char -1 of myString
end repeat




More information about the use-livecode mailing list