substring

返回一个新字符串,它是此字符串的一个子字符串。该子字符串从指定的 beginIndex 处开始, endIndex:到指定的 endIndex-1处结束。
原文地址:https://www.cnblogs.com/yaowen/p/2977200.html