Removing Carriage Return + Line Feed in T-SQL
July 19, 2010 Leave a comment
So annoyed by a CR+LF in XML values within in a table I’m looking at right now. Easily removed with…
REPLACE(REPLACE(XmlField, CHAR(10), ''), CHAR(13), '')
From .NET to Sitecore, SQL, JQuery and everything in between…
July 19, 2010 Leave a comment
So annoyed by a CR+LF in XML values within in a table I’m looking at right now. Easily removed with…
REPLACE(REPLACE(XmlField, CHAR(10), ''), CHAR(13), '')