Re: DLLs, a better split()
- Posted by Hawke <mdeland at NWINFO.NET> Sep 19, 1998
- 434 views
Hawke wrote: > i put split2 in there so you could see the actual algorithm... > it could actually be made into 1 line, but it would be slower > since you would have to call find() twice. > hope this helps... > --Hawke' errrr.... a line i intended in this close somehow became vaporware. One other thing about my split.ex is that it's more tuned to strings (1 dimension sequences) as that is what your code seemed to me was doing... I didn't read your code, however, with a very fine-toothed comb. If that is not what you needed for your split, then jiri's reply would be more appropriate. If you need simple string splitting, I think mine might run faster... not sure.