@Immutable
    public static Memory strpbrk(String haystack, String charList) {
        int len = haystack.length();
        int sublen = charList.length();

        for (int i = 0; i < len; i++) {
            for (int j = 0; j < sublen; j++) {
                if (haystack.charAt(i) == charList.charAt(j)) {
                    return new StringMemory(haystack.substring(i));
                }
            }
        }

        return Memory.FALSE;
    }
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