ANN: Remove double spaces--plugin

Jim Ault JimAultWins at yahoo.com
Sun Dec 4 23:43:59 EST 2005


According to the dictionary:
ReplaceText function
Searches for a regular expression and replaces the portions that match the
regular expression.

The replaceText function is not as fast as the Replace command, but is more
flexible because you can search for any text that matches a regular
expression.
--------
Replace command:
Replaces text in a container with other text.
--------
Jim Ault
Las Vegas


On 12/4/05 8:21 PM, "Bill Marriott" <wjm at wjm.org> wrote:

> Stupid question: How does rev know to process that as a regex as opposed to
> the literal " +"?
> 
> "Jim Ault" <JimAultWins at yahoo.com> wrote in
> message news:BFB8FBD4.316E8%JimAultWins at yahoo.com...
>> Another approach is to use :
>> 
>> put replaceText(fld storyline," +"," ") into fld storyline
> 
> 
> 
> _______________________________________________
> 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