private static String padLeft(String s,int minLength){
  return String.format("%1$" + minLength + "s",s);
}

private static String padLeft ( String s , int minLength ) { return String . format ( "%1$" + minLength + "s" , s ) ; }
adds padding to the beginning of a string with a repeating character if the string ' s length is less than the minimum length
