web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: Paul Drover
Forum: Support 10-14-2010, 07:17 AM
Replies: 13
Views: 6,710
Posted By Paul Drover
Try var trimmed = cont.replace("/\s+$/g",...

Try

var trimmed = cont.replace("/\s+$/g", "");

I think the regex needs to be a string. You may also need to escape the '\' with a '\\', i.e.

var trimmed = cont.replace("/\\s+$/g", "");
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -8. The time now is 12:25 PM.


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