[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: %q implementation
- From: Kevin Martin <kev82@...>
- Date: Thu, 21 Feb 2013 12:09:10 +0000
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.