Repeat until (0r "while") not working

Geoff Canyon gcanyon at inspiredlogic.com
Thu Aug 11 03:27:33 EDT 2005


Others have answered the question of why your code might not be  
working. As to (possible) better methods, I like this one:

put word 1 to -1 of tString into tString

Note that this will also remove any leading whitespace on the first  
line that contains text, and any trailing whitespace on the final  
line that contains text, and any lines that contain only spaces or tabs.

gc

On Aug 9, 2005, at 6:17 PM, Sivakatirswami wrote:

> I'm missing something very simple here,
>
> Goal: delete empty lines beginning and end of text chunk
>




More information about the use-livecode mailing list