reqXml.indexOf("<ElectronicPolicyCreationDate>") 找出该字符在字符串中的位置 从0 开始 若不存在 则返回 -1 str.substring(3) 从0开始数,到第三位开始截取到最后一位