[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: %q implementation
- From: Marc Balmer <marc@...>
- Date: Thu, 21 Feb 2013 13:48:41 +0100
> Does anyone have implementations for string.format("%q", …) in other languages - other than the implementation inside Lua itsself. I'm trying to produce some Lua code from inside PHP, and need to properly format the strings. I thought it may be something lots of people need to do, and there would be numerous bits of code, but I can't find anything.
How should "%q" format it's parameter?