substring(int beginIndex, int endIndex) 返回一个新字符串,它是此字符串的一个子字符串。beginIndex - 起始索引(包括)。从0开始endIndex - 结束索引(不包括)。