Hi Praveen,
use below code to get substing before the opening bracket. In UDF select Execution type as All Values of a context.
public void split(String[] input, ResultList result, Container container)throws StreamTransformationException{
int beginIndex = 0;
int endIndex = 0;
for(int i=0; i<input.length; i++){
endIndex = input[i].indexOf("(");
result.addValue(input[i].substring(beginIndex, endIndex));
}
}
Regards,
Santhi