I'm trying to print a list of Strings all padded to the same width.
In C, I would use something like
line += String(format: "%40s",string.cStringUsingEncoding(<someEncoding>))
NSString has the
line += string.stringByPaddingToLength(40, withString: " ", startingAtIndex: 0)