substring方法用于从字符串中提取一个子字符串(即原字符串的一部分),Java中主要有两种形式的substring方法,它们位于String类和StringBuilder/StringBuffer类中,String类...