How to delete trailing spaces in a line

Mark Powell mark_powell at symantec.com
Tue Oct 24 18:26:02 CDT 2006


Yes, Jim hit the nail on the head.  Does exactly what I wanted and quickly.
Mark 

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault
Sent: Tuesday, October 24, 2006 1:50 PM
To: How to use Revolution
Subject: Re: How to delete trailing spaces in a line

I believe the original question by Mark Powell was asking about removing spaces at the end of every line in a multi-line container, then later the he described trying to use replaceText and a regular expression to do the job, which it can do.  See my earlier post with one way of doing this.

Jim Ault
Las Vegas 


On 10/24/06 11:46 AM, "André.Bisseret" <Andre.Bisseret at inria.fr> 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




More information about the use-livecode mailing list