[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: line parsing in lua
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 13 Dec 2000 03:07:26 -0200 (EDT)
>> I want to parse the line into Lua table where fields are line words.
> You can substitute spaces between a pair of `"' by another character
>then split the string using spaces as separators and reconstructing the
>original spaces:
This is a nice solution.
To avoid the remote case when the line contains "\1", you can use "\n" instead.
--lhf