Skip to content Skip to sidebar Skip to footer

Keep Getting StringIndexOutOfBoundsException

I keep getting a StringIndexOutOfBoundsException on this line: String a = b[1]; Log.d('Debug', a); a= a.substring(content.indexOf(';'), content.indexOf('&

Solution 1:

Surely this:

        a= a.substring(content.indexOf(";"), content.indexOf("</font>"));

is supposed to be this:

        a= a.substring(a.indexOf(";"), a.indexOf("</font>"));

?


Post a Comment for "Keep Getting StringIndexOutOfBoundsException"