public static String padOrTrim(Object obj,int totalChars){
  return padOrTrim(obj.toString(),totalChars);
}

public static String padOrTrim ( Object obj , int totalChars ) { return padOrTrim ( obj . toString ( ) , totalChars ) ; }
pad or trim the tostring value of the given object .
