web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: apatwa
Forum: Support 10-14-2010, 07:47 AM
Replies: 13
Views: 6,710
Posted By apatwa
To handle new lines, you want to do...

To handle new lines, you want to do .replace(/\n|\r/g, '');
Forum: Support 10-13-2010, 01:51 PM
Replies: 13
Views: 6,710
Posted By apatwa
Try: var cont = new...

Try:

var cont = new String(FileUtil.read('/folders/outbox/testfile.dat'));

or

cont.toString().replace(/\s+$/g, "");
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -8. The time now is 01:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation