padRight / padLeft
Also written: padRight, padLeft
String methods that add spaces after (padRight) or in front of (padLeft) the text until it is a given length, which lines text up in columns.
Also written: padRight, padLeft
String methods that add spaces after (padRight) or in front of (padLeft) the text until it is a given length, which lines text up in columns.