I need your urgent help. Please help me to solve it out.
Thanks a lot in advanced for your time.
error:
java.lang.StringIndexOutOfBoundsException: String index out of range: 150
Lines of code in this place there:
if (text.length ()> 150) {
text.replaceAll summary = ("<[^>] *>", ""). substring (0, 150) + "...";
}
else
text.replaceAll summary = ("<[^>] *>", "");
How do one change this code for the error disappears!