strtok-v2.e addition
- Posted by Kat <gertie at PELL.NET> Jul 14, 2002
- 369 views
Ok, since i recieved no feedback on adding case-insensitivity to the strtok library, i am adding it like this: string = "a1 cat1 ba Cat1 da tac2" findtok(string,"Cat1",{1},32) = 4 findtok(string,"Cat1",1,32) = 4 findtok(string,"Cat1",{"i",1},32) = 2 This makes the flag optional and doesn't break anything. So far, matchtok, matchntok, wildtok, wildntok, and findtok can ignore the case of token and string. Webpage and zip file are updated. Comments are welcome. Kat http://www.pell.net/warning/euphoria.html