Use String#ljust as suggested by @mudge.