@Override
    public String strip(String s) throws Exception {
        final int length = s.length();
        if (oldChars.length < length) {
            oldChars = new char[length];
        }
        s.getChars(0, length, oldChars, 0);
        int newLen = 0;
        for (int j = 0; j < length; j++) {
            char ch = oldChars[j];
            if (ch >= ' ') {
                oldChars[newLen] = ch;
                newLen++;
            }
        }
        return new String(oldChars, 0, newLen);
    }