ComputerCraft 1.63 on Minecraft 1.6.4
Description:
string.format("a%-2sc", "b") returns "abc"
This is probably a LuaJ bug. Is it fixable, or should it be added to the list of broken string functions at http://computercraft...tring_%28API%29?
Expected Result:
string.format("a%-2sc", "b") returns "ab c"
Reproduction Steps:
ComputerCraft:
lua> string.format("a%-2sc", "b")
abc
Lua 5.1
bash $ lua
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> =string.format("a%-2sc", "b")
ab c
>
Edited by electrodude512, 09 July 2014 - 08:44 PM.













