Advertisement

lua and tab

Started by August 14, 2004 07:08 PM
0 comments, last by RolandofGilead 20 years, 3 months ago
I can't figure out how to make lua recognize a tab when calling either string.find() or string.gsub(). I've tried typing in a tab, "\t", and "%\t" and nowhere in the Wiki or mailing archive have I found anything on this matter. edit: I'm trying to parse an excel spreadsheet that I saved as tab delimited text.
Exported the sheet as comma delimited, after a few changes and corresponding bugs its done. Also weird was that MS Excel 2000 seemed to have a bug and a few times appended extra tabs or commas to the end of the line, but resaving the text file cleared them out.

As to the original problem, it may have been my code.

This topic is closed to new replies.

Advertisement