1. bug in deltok
- Posted by gertie at visionsix.com Feb 08, 2003
- 510 views
Given :
s = "a b c d"
s = deltok(s,{3,3},32)
?s -- "a b"
because :
s = deltok(s,3,32) -- s = "a b d"
and using 3 again is :
s = deltok(s,3,32) -- s = "a b"
I have a fix, not uploaded yet. I am adding code for
s = deltok(s,{{x..y},z},32)
where x,y,and z can be almost anything. Not terribly useful, like CK said,
you can write the code to do it yourself, but i thought i'd do it just once for
myself, and you can use it if you want.
Kat

