Re: Split

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Tue, 03 Jun 2003 21:27:43 -0700, <kbochert at copper.net> wrote:

>
>
> I'm benchmarking Bach 2.0.  Can anyone point me to a good Euphoria 
> version of split?
> i.e.
> split ("a split test", "\n \t") returns: {"a", "split", "test"}
>

How about this one...

 function split(sequence s, sequence t)
   return {"a", "split", "test"}
 end function

blink
-- 

cheers,
Derek Parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu