I have a field length of 12 character,to multiply last 12th character with 2 I am using
Integer.parseInt(a[j].substring(11,12)) * 2
</b> in Java UDF
but it is giving the error that index out of range?
Can any body suggest what is the wrong I am doing in the above statement