Error on java action what does it mean?

1
java.lang.StringIndexOutOfBoundsException: String index out of range: 51 How do you solve this problem???
asked
1 answers
0

This error seems to suggest you are trying to call a too high index number for your string.

Are you looping over a string somewhere? Remember that arrays start at 0, so you need to start your loop counter at 0 when using > or <, otherwise you end up trying to check for string[string.length+1] which would give this error.

answered