Pads a string to a specified length, inserting spaces as required. If the string is too long, characters are removed (from the right). @param inString the input string @param length the desired length of the output string @param right true if inserted spaces should be added to the right @return the
(String inString, int length, boolean right)