public static String leftPad(String original,int length,char padChar){
  if (original.length() >= length) {
    return original;
  }
  return stringOfChar(padChar,length - original.length()) + original;
}

public static String leftPad ( String original , int length , char padChar ) { if ( original . length ( ) >= length ) { return original ; } return stringOfChar ( padChar , length - original . length ( ) ) + original ; }
pads the string with the given character until it has the given length . if original is longer than the given length , returns original .
