public static String[] stripAll(String[] strs, String stripChars) {
        int strsLen;
        if (strs == null || (strsLen = strs.length) == 0) {
            return strs;
        }
        String[] newArr = new String[strsLen];
        for (int i = 0; i < strsLen; i++) {
            newArr[i] = strip(strs[i], stripChars);
        }
        return newArr;
    }
<p>Strips any of a set of characters from the start and end of every
String in an array.</p>
Whitespace is defined by {@link Character#isWhitespace(char)}.</p>

<p>A new array is returned each time, except for length zero.
A {@code null} array will return {@code null}.
An empty array will return itself.
A {@code null} array entry will be ignored.
A {@code null} stripChars will strip whitespace as defined by
{@link Character#isWhitespace(char)}.</p>

<pre>
StringUtils.stripAll(null, *)                = null
StringUtils.stripAll([], *)                  = []
StringUtils.stripAll(["abc", "  abc"], null) = ["abc", "abc"]
StringUtils.stripAll(["abc  ", null], null)  = ["abc", null]
StringUtils.stripAll(["abc  ", null], "yz")  = ["abc  ", null]
StringUtils.stripAll(["yabcz", null], "yz")  = ["abc", null]
</pre>

@param strs  the array to remove characters from, may be null
@param stripChars  the characters to remove, null treated as whitespace
@return the stripped Strings, {@code null} if null array input
android/android_framework/base/src/main/java/lang3/StringUtils.java