[EMAIL PROTECTED] wrote: > Duh! > Got a parsing question here: > >> parse/all "/one/two" "/" > returns > == ["" "one" "two"] > > >> parse/all "one/two" "/" > returns > == ["one" "two"] > > How may I write the code so that ["one" "two"] > is returned regardless of whether there are any number > of "/" slash: charset "/" non-slash: complement slash blk: copy [] parse/all str [some [copy txt some non-slash (insert tail blk txt) | slash]] Cheers, -pekr- > > TIA > Tim
- [REBOL] editor for /core here agem
- [REBOL] Parsing question tim
- [REBOL] Parsing question Re:(2) Petr . Krenzelok
- [REBOL] editor for /core here Re: icimjs
