
-----------------------------------
aldreneo
Wed Sep 13, 2006 5:19 pm

Split?
-----------------------------------
Does turing have split for an example:

split("hello, bye, hi", ",", array)

Then it splits them into "hello" " bye" and " hi"

-----------------------------------
Cervantes
Wed Sep 13, 2006 5:38 pm


-----------------------------------
No, I don't believe it does. But you can easily write your own function to do that. You could define it recursively or iteratively.

You can also take it a step further and add your definition of this split function to the Turing library. Instructions on how to do this are found [url=http://www.compsci.ca/v2/viewtopic.php?t=9862]here
