[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Convert a string to table without changing the order of the items
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 5 Apr 2012 09:18:15 -0300
> I need to convert this to a table but the order of the data must stay the same.
Try s:gsub('%["(%w+)"%]="(.-)",',print)
Replace print with a suitable function.
If the data file has more than one table, it'll take a little more work.