String formatting bugs
padleft, padright and truncstr