lua-users home
lua-l archive

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

On Mon, 04 May 2009 05:07:14 +0300, Matthew Paul Del Buono <> wrote:

> It is important to point out that you will find in the manual
> that string.format does not work with strings with zeros in the
> middle in many cases. This is explicitly stated in the manual.
> The only format specifier that I'm aware of that allows for
> zeros is %q.

Manual does not say anything about missing the final \0 though, because
such case is not possible without modifying Lua core.