Develop a set of questions (constantly updated ......)

1、java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Cause of the problem: using substring method of the String class, have not been sentenced to an empty string operations for the parent cause.

Guess you like

Origin www.cnblogs.com/nachdenken/p/11562860.html