Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Newbie Q: Search and delete from a Block

From: g:santilli:tiscalinet:it at: 10-Oct-2002 0:41

Hi Romano, On Wednesday, October 9, 2002, 11:25:46 PM, you wrote: RPT> if all [any-string? target any [not any-string? :search tag? :search]] RPT> [search: form :search] Does this work? You have 'ALL as a local word... BTW, for a long string copying to a new string will probably be faster than changing the original (unless you're not moving data around at all, i.e. when SEARCH has the same length as REPLACE...). Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r