A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Java in General
How to remove first line from an String containing XML?
Joined: May 18, 2010
Dec 24, 2011 02:56:28
I have a
which contains XML.
I want to remove its first line and save it back to String.
How can I do that?
Joined: May 31, 2011
Dec 24, 2011 22:40:18
Can you show a sample String with the xml... do you mean the string contains "xml" or a xml document? Is there a line separator (\n) between the xml string and other strings?
I agree. Here's the link:
subject: How to remove first line from an String containing XML?
removing first line from JAXB generated XML
simple sed command
Removing linefeed from String.
Remove first three bytes in a file.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014