Hi Romano,

En r�ponse � Romano Paolo Tenca <[EMAIL PROTECTED]>:

> Hi,
> 
> > I would do it like that :
> > 
> > word-split: func [text [string!] value [string!] /local fst snd][
> >     parse text [to value s: (fst: copy/part txt s) value s: (snd:
> copy
> > s)]
> >     reduce [fst snd]
> > ]
> 
> and i:
> 
>  word-split: func [s w][parse/all replace s w #{00} "^(0)"]
> 
> 0 not in string :-(

Very smart and elegant solution! :-)
(I usually do not use 'replace mezzanine in my code unless i don't care about 
speed)

-DocKimbel.
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to