i need a UDF for splitting of a string based on the delimiter "." i have done with the following udf but it is not working with my delimiter. it is working with the ";" delimiter.
for (int i = 0; i < field1.length; i++)
String tokens = field1[i].split(".");
sample input --Action.20150302.0101 so here i need to split it in to 3 strings so that i will do some validations on the timestamp.
please help me guys