code: public static String justifyLeft( String str,
                                        final int width,
                                        char padWithChar ) {
          return justifyLeft(str, width, padWithChar, true);
      }
docs: Left justify the contents of the string, ensuring that the supplied string begins at the first character and that the
  resulting string is of the desired length. If the supplied string is longer than the desired width, it is truncated to the
  specified length. If the supplied string is shorter than the desired width, the padding character is added to the end of
  the string one or more times such that the length is that specified. All leading and trailing whitespace is removed.
  
  @param str the string to be left justified; if null, an empty string is used
  @param width the desired width of the string; must be positive
  @param padWithChar the character to use for padding, if needed
  @return the left justified string
  @see #setLength(String, int, char)