Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Substring

Hi Group,

I have a field length of 12 character,to multiply last 12th character with 2 I am using

<b>

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

Former Member
Not what you were looking for? View more on this topic or Ask a question