How to delete trailing spaces in a line

Peter T. Evensen pevensen at siboneylg.com
Tue Oct 24 15:03:19 EDT 2006


How about:

put word 1 to -1 of line n of tText into line n of tText


At 01:46 PM 10/24/2006, you wrote:
>I don't claim that it is the best way, but, in order to delete all
>spaces at the end of a field  I am using :
>
>repeat until last char of fld "leTexte" is not space
>     delete last char of fld "leTexte"
>   end repeat
>
>which works for a line as well (I just tried it).
>
>Best regards from Grenoble
>André
>
>
>Le 24 oct. 06 à 17:10, Mark Powell a écrit :
>
>>I want to delete all spaces at the end of a line, be they a single
>>space
>>or a couple dozen.  What is the best way to do this?
>>
>>Mark Powell
>>_______________________________________________
>>use-revolution mailing list
>>use-revolution at lists.runrev.com
>>Please visit this url to subscribe, unsubscribe and manage your
>>subscription preferences:
>>http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588 





More information about the use-livecode mailing list