@Immutable
    public static String trim(String s, String charsetList) {
        return rtrim(ltrim(s, charsetList), charsetList);
    }
Parses the cslashes bitmap returning an actual bitmap.

@param charset the bitmap string

@return the actual bitmap
exts/jphp-zend-ext/src/main/java/org/develnext/jphp/zend/ext/standard/StringFunctions.java