web stats
Mirth Community - View Single Post - Replace '\E' from URL link using replace method
View Single Post
Old 02-13-2019, 08:43 PM
shuhaibk54 shuhaibk54 is offline
OBX.1 Kenobi
Join Date: Jan 2018
Location: Abudhabi
Posts: 26
shuhaibk54 is on a distinguished road
Send a message via AIM to shuhaibk54 Send a message via Skype™ to shuhaibk54

I am getting output like : E.1.2.154EcsE877_P9999_Adult{2}_02_05_2019_0329 p.pdf

I am expecting output like : \\\bcs\30877_P9999_Adult{2}_02_05_2019_0 329p.pdf

When I try on seperate java script latest version - its working fine with below code

var str=String.raw`\E\\E\\E\bcs\E\30877_P999 9_Adult{2}_02_05_2019_0329p.pdf`;
var res=str.split(String.raw`\E`).join('');


String.raw does not supported by mirth java script . Please advise
Reply With Quote