[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: String argification
- From: David Given <dg@...>
- Date: Sun, 27 Feb 2011 15:07:27 +0000
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