lua-users home
lua-l archive

string.format

[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.

AltStyle によって変換されたページ (->オリジナル) /