arthur-debert/printf-as3 — pull request #16 by davyzhang (2011-12-09 16:55:51+00:00)
Title: fixed the padding length problem

check the function

```
function padString(str:String, paddingNum:int, paddingChar:String=" ") : String
{
if(paddingChar == null) return str;

return new Array(paddingNum).join(paddingChar).substr(0,paddingNum-str.length).concat(str);
}