how to remove Xml version string from String

后端 未结 5 2001
情书的邮戳
情书的邮戳 2021-02-05 12:11

I have read Xml File using code given below-

  String XmlString = \"\";
  String resourcePath=FilePathHelper.getResourceFilePath(request);



        BufferedRea         


        
5条回答
  •  旧巷少年郎
    2021-02-05 13:12

    Another way would we to do it like this:

    XmlString = XmlString.substring(XmlString.indexOf("