bug in deltok

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu