Problem with $gettok - 03/03/05 02:48 PM
My problem is I'm trying to read a file, the file contains comma seperated lines, and it seems $gettok ignores the null tokens...
Exmaple:
ID,,,,1,,,,,,2,3,,,4,,,,5,
value 1 would return "ID", value 2 would return 1 instead of null, value 3 would return 2 instead of null, etc
I want it just to return null or return a 0 (either is fine)
Exmaple:
ID,,,,1,,,,,,2,3,,,4,,,,5,
value 1 would return "ID", value 2 would return 1 instead of null, value 3 would return 2 instead of null, etc
I want it just to return null or return a 0 (either is fine)