If you ever wondered how to insert CRLF to a text you look at at a very specific position in the text, say like between >< in XML to structure it, then there is a trick i haven’t been aware of.
The way you might think as a C++ or unix person is \n which works for some programs like textpad. but textpad and Hebrew are enemies so i needed my faithful UltraEdit.
the trick i stumbled upon was to add ^p in the replace and put >^p< to get a CR LF action.
that was so nice and so easy to make a not valid XML file readable in the Altova XMLSpy.
Enjoyed this article?
WebsiteWordpress themes!



{ 1 comment… read it below or add one }
Aarrgh, I already struggled over month for this. Thanks for this