Moved padChars to StringUtils.