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

[REBOL] Re: Parse question

From: AJMartin::orcon::net::nz at: 26-Jul-2003 14:39

Tim wrote:
> if char? delimiters[delimiters: to-string delimiters] > delims: charset delimiters
One little improvement is to use this improved 'charset function
>> source charset
charset: func [ "Makes a bitset of chars for the parse function." Chars [string! block! char!] ][ make bitset! Chars ] and write: delims: charset delimiters
> IOWs, where there are two consecutive delimiters, > I would like an empty string inserted.
I couldn't figure this one out at the moment -- I blame my flu! Andrew J Martin Taking it easy... ICQ: 26227169 http://www.rebol.it/Valley/ http://Valley.150m.com/