How to delete trailing spaces in a line

Mark Powell mark_powell at symantec.com
Tue Oct 24 12:49:44 EDT 2006


Thanks for the reply, Mark.  However, it must be at the end of line
only.  In addition, I need to do the operation on a container in one
call, preferably using replaceText.  I am having problems with 

...
put space & "+" & return into vStringToStrip
replaceText(vMyContainer,vStringToStrip,empty)
...


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Smith
Sent: Tuesday, October 24, 2006 10:03 AM
To: How to use Revolution
Subject: Re: How to delete trailing spaces in a line

put word 1 to -1 of tLine into tLine - though this will also remove
spaces at the beginning of the line.


Best,

Mark

On 24 Oct 2006, at 17:10, Mark Powell wrote:

> 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




More information about the use-livecode mailing list