[REBOL] Re: Complex Series Parsing (Part 2)
From: sterling:rebol at: 9-Mar-2001 15:48
Nope. It's just one of those things.
You could always:
replace/all string "> <" "><"
if you knew that was safe to do on the original string so that the
load/markup wouldn't make the whitespace values. But that still
doesn't solve the string with more than one space (or tabs). It's
best to iterate the block and remove items that TRIM to EMPTY?:
for x length? blk 1 -1 [if empty? trim blk/:x [remove at blk x]]
If you don't want any strings in the block permanently trimmed then
make it "trim copy blk/:x" instead.
Sterling