Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Split?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
aldreneo




PostPosted: Wed Sep 13, 2006 5:19 pm   Post subject: Split?

Does turing have split for an example:
code:

split("hello, bye, hi", ",", array)

Then it splits them into "hello" " bye" and " hi"
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Wed Sep 13, 2006 5:38 pm   Post subject: (No subject)

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 here
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: