String str; str=str.substring()

String str;
str=str.substring(int beginIndex);截取掉str从首字母起长度为beginIndex的字符串,将剩余字符串赋值给str;

你可能感兴趣的:(Java,EE)