I would much appreciate some help concerning modification suggestions so that module may parse TAB delimited files. Can one of the existing options be replaced with the TAB option? In fact, for my application, I need no more than a single delimiter option, the TAB option - possibly the comma delimiter option may be modified to cater for TAB delimiter?

Any ideas?

Comments

abramo’s picture

Title: Instructions for TAB delimited » Custom modification for TAB delimited files
alex_b’s picture

See how the delimiter value is being used as argument for strpos() in parser_csv_parser.inc line 207 :

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/parser_csv/...

http://us3.php.net/function.strpos

You should be able to use any character.

abramo’s picture

Many thanks, that's very helpful!
Shall try, and shall report back.