public static String pad(String o,int len){
  if (o.length() >= len) {
    return o;
  }
  return o + whitespace(len - o.length());
}

public static String pad ( String o , int len ) { if ( o . length ( ) >= len ) { return o ; } return o + whitespace ( len - o . length ( ) ) ; }
pad a string to a given length by adding whitespace to the right .
