Swift String Pad

string.padding(toLength: 40, withPad: " ", startingAt: 0)
Cute Cottonmouth