Question : swift string pad
Answered by : cute-cottonmouth-2xnxbe54voia
string.padding(toLength: 40, withPad: " ", startingAt: 0)
Source : https://stackoverflow.com/questions/32338137/padding-a-swift-string-for-printing | Last Update : Sat, 19 Jun 21