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.
This site uses Akismet to reduce spam. Learn how your comment data is processed.