Re: split() function
- Posted by Jiri Babor <J.Babor at GNS.CRI.NZ> May 04, 2000
- 585 views
I have been using the same split() function as Pete's, except the length of the string needs to be calculated only once. Btw, Ian's original function, while slower, correctly handles the boundary cases. Pete's smart_print is a nice, compact alternative to Gabriel's print.e. I am not quite sure, but I would probably prefer an empty pair of braces, not a pair of quotation marks to signify an empty sequence generally. ;) jiri

