liquibase-core/src/main/java/liquibase/util/StringUtil.java
public static String[] splitSQL(String multiLineSQL, String endDelimiter) {
        return processMutliLineSQL(multiLineSQL, false, true, endDelimiter);
    }
public static String[] splitSQL(String multiLineSQL, String endDelimiter) {
        return processMutliLineSQL(multiLineSQL, false, true, endDelimiter);
    }
Splits a candidate multi-line SQL statement along ;'s and "go"'s.