@Override
    public Object parse(SourceData sourceData, int rowIndex, Context context) {
        Object strObject = stringParser.parse(sourceData, rowIndex, context);
        if (strObject == null) {
            return null;
        }
        String str = OperatorTools.parseString(strObject);
        if (str == null) {
            return null;
        }

        StringBuilder result = new StringBuilder();
        boolean capitalizeNext = true;
        for (char c : str.toCharArray()) {
            if (Character.isLetterOrDigit(c)) {
                if (capitalizeNext) {
                    result.append(Character.toUpperCase(c));
                    capitalizeNext = false;
                } else {
                    result.append(Character.toLowerCase(c));
                }
            } else {
                capitalizeNext = true;
                result.append(c);
            }
        }

        return result.toString();
    }
InitCapFunction  ->  initcap(str)
description:
- Return NULL if 'str' is NULL;
- Return a new form of STRING with the first character of each word converted to uppercase
         and the rest characters to lowercase.
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/string/InitCapFunction.java