🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

lua and tab

Started by
0 comments, last by RolandofGilead 19 years, 11 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.
Advertisement
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