jetbrick-commons/src/main/java/jetbrick/lang/StringUtils.java
public static String remove(final String s, final String remove) {
        if (isEmpty(s) || isEmpty(remove)) {
            return s;
        }
        return replace(s, remove, "", -1);
    }
public static String remove(final String s, final String remove) {
        if (isEmpty(s) || isEmpty(remove)) {
            return s;
        }
        return replace(s, remove, "", -1);
    }
<p>
Removes all occurrences of a substring from within the source string.
</p>

<p>
A {@code null} source string will return {@code null}. An empty ("")
source string will return the empty string. A {@code null} remove string
will return the source string. An empty ("") remove string will return
the source string.
</p>

<pre>
StringUtils.remove(null, *)        = null
StringUtils.remove("", *)          = ""
StringUtils.remove(*, null)        = *
StringUtils.remove(*, "")          = *
StringUtils.remove("queued", "ue") = "qd"
StringUtils.remove("queued", "zz") = "queued"
</pre>