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

[REBOL] Re: newlines

From: joel:neely:fedex at: 8-Nov-2001 15:33

Hi, Andrew, Andrew Martin wrote:
> > There are several options for squishing runs of newlines down to > > I quite like: > trim/lines MyStringOfText >
Well, that's a nice doohickey, but it doesn't do what the original post asked for, which was to reduce all runs of more than two consecutive newlines down to just two newlines (i.e., preserve paragraph-like chunking with a minimum of wasted vertical space). -jn- -- Your mouse has moved. Windows NT must be restarted for this change to take effect. -- Anonymous joel)dot)neely)at)fedex)FIX)PUNCTUATION)dot)com