web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Mark Sull
Forum: Support 09-11-2018, 06:20 AM
Replies: 8
Views: 2,795
Posted By Mark Sull
Correct PART 2

Thanks for the help guys, that works indeed.

Do you mind explaining to my a forward slash is required.


return message.replace(/\\.br\\/g,'~');
Forum: Support 09-04-2018, 01:16 AM
Replies: 8
Views: 2,795
Posted By Mark Sull
Hi Agermano, I was able to get the...

Hi Agermano,

I was able to get the pre-processor to work to a degree. The below script clears the first iteration of the value.

var newMessage = message.replace("\.br\\", '~');
return...
Forum: Support 09-04-2018, 12:09 AM
Replies: 8
Views: 2,795
Posted By Mark Sull
Hi Agermano, Never mind, just found the...

Hi Agermano,

Never mind, just found the section.

Ill give your solution a go.

Cheers
Forum: Support 09-04-2018, 12:01 AM
Replies: 8
Views: 2,795
Posted By Mark Sull
Hi Agermano, Apologies but when you say...

Hi Agermano,

Apologies but when you say place in preprocessor, is that not an transformer in the source section on admin mirth? I thought all scripting should be done here. Im not sure where the...
Forum: Support 08-27-2018, 06:13 AM
Replies: 8
Views: 2,795
Posted By Mark Sull
Replace .br tag in OBX-5

Hi All,

I need to replace each occurrence of a new line '.br' tag in OBX-5 with a tilde symbol '~' as the downstream app cannot work with '.br' tags.

Source OBX:
OBX|1|FT|VEL6174853|Macro|test...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -8. The time now is 03:58 PM.


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