liquibase-core/src/main/java/liquibase/util/StringUtil.java
public static String pad(String value, int length) {
        value = StringUtil.trimToEmpty(value);
        if (value.length() >= length) {
            return value;
        }

        return value + StringUtil.repeat(" ", length - value.length());
    }
public static String pad(String value, int length) {
        value = StringUtil.trimToEmpty(value);
        if (value.length() >= length) {
            return value;
        }

        return value + StringUtil.repeat(" ", length - value.length());
    }
Adds spaces to the right of the input value until the string has reached the given length. Nothing is done
if the string already has the given length or if the string is even longer.
@param value The string to pad (if necessary)
@param length the desired length
@return the input string, padded if necessary.