lua-users home
lua-l archive

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


Does anyone have a cunning piece of pure-Lua code for argifying a
string? That is, turning this:

	foo bar "baz bloo \"fnord" wibble

into this:

	{'foo', 'bar', 'baz bloo "fnord', 'wibble'}

...?

I've had a look at the wiki, as this is a fairly stock problem, but
don't see anything.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "I have a mind like a steel trap. It's rusty and full of dead mice."
│ --- Anonymous, on rasfc

Attachment: signature.asc
Description: OpenPGP digital signature