[REBOL] Re: newlines
From: arolls:idatam:au at: 8-Nov-2001 12:22
Joel, I am shocked that you would
repeat yourself so much in rebol.
You should have been immediately
suspicious that there should be an
easier way as soon as you wrote the
same thing twice. ;)
I am assuming you must have been
too busy to spend much time on it. :)
As I wrote in my other post on this thread
the one line answer is:
while [p: find s "^/^/^/"][remove p]
where s is the string to process,
and the result should have no more than
two newlines in a row.
Anton.