lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>> 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.