Comma Separated Values Tokenizer
This code tokenizes a comma separated values string.
Call Csv_addval() with the string you want to tokenize
Csv_getval() returns a token (this returns "CSV_EMPTY" when there are no tokens left)
Call Csv_reset() to clear and tokens left in memory
Note: If you have the extends plugin you can replace the call to "str_find_char(Csv_str, ",")" with "str find char(Csv_str, ",", 1)" and delete the str_find_char() function.