@Immutable
    public static String ucwords(String value) {
        char[] buffer = value.toCharArray();

        boolean prevSpace = true; // first char to Upper
        for (int i = 0; i < buffer.length; i++) {
            char ch = buffer[i];
            if (Character.isSpaceChar(ch)) {
                prevSpace = true;
                continue;
            }
            if (prevSpace) {
                buffer[i] = Character.toUpperCase(ch);
                prevSpace = false;
            }
        }
        return new String(buffer);
    }
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