web stats
Mirth Community - View Single Post - Carriage Return within Fields
View Single Post
  #3  
Old 04-10-2014, 02:14 PM
ben ben is offline
What's HL7?
 
Join Date: Oct 2013
Posts: 3
ben is on a distinguished road
Default

Thanks!

FYI, I changed the first line to remove trailing carriage return/line feeds to prevent the last line from being converted.

var newmessage = message.replace(/[\n\r]$/,"");
Reply With Quote