@Override
    public Object processRemove(Object[] data, ExecutorState state) {
        for (Object aData : data) {
            state.aggregatedStringValue = state.aggregatedStringValue.replaceFirst(aData.toString(), "");
        }
        if (appendAbc) {
            return state.aggregatedStringValue + "-abc";
        } else {
            return state.aggregatedStringValue;
        }
    }
The initialization method for FunctionExecutor

@param attributeExpressionExecutors are the executors of each attributes in the function
@param processingMode               query processing mode
@param outputExpectsExpiredEvents   is expired events sent as output
@param configReader                 this hold the {@link StringConcatAggregatorExecutorString}
                                    configuration reader.
@param siddhiQueryContext           current siddhi query context
modules/siddhi-core/src/test/java/io/siddhi/core/query/extension/util/StringConcatAggregatorExecutorString.java