subString引起的index out of range

特别注意!!!低级坑

subString(begin,end)   subList()均存在这个问题。

当end>String.size(),则index out of range!!!

原文地址:https://www.cnblogs.com/jixiegongdi/p/13965988.html