[REBOL] Re: Splitting string based on substring separator
From: lmecir:mbox:vol:cz at: 22-Dec-2002 10:07
Hi Gregg,> Maybe someone else will jump in with a better solution. Like I said, > it's late.I found two omissions (local data and /all): split-dlm-str: function [string dlm] [action result data] [ result: copy [] action: [(append result data)] parse/all string compose/deep [ some [copy data to (dlm) (action) (length? dlm) skip] copy data to end (action) ] result ]