function padString(num, padding) {
    return repeatString(isDefined(padding) ? padding : ' ', num);
  }
@module String
@description String manupulation, encoding, truncation, and formatting, and more.

*