split() function (like perl's)
- Posted by Buddy Hyllberg <budmeister1 at JUNO.COM> Jul 07, 1998
- 412 views
Hi everybody, what would be the best way to write something similar to perl's split() function (same basic functionality)? all I want to do is be able to take a sequence/string and split() it using a delimiting character (in this case a space). Something like this: seq1 = split(' ', "mary had a little lamb") -- the results would be {"mary", "had", "a", "little", "lamb"} thanks! ----->Buddy budmeister1 at juno.com _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]