lua-users home
lua-l archive

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


I just noticed that string.format is missing an option (I think),
namely, a boolean option.

How about -

%b -> "true" or "false"
%bc -> "True" or "False"
%bu -> "TRUE" or "FALSE"
%b0 -> 0 or 1

David B.