EPL Apama issue on special Character

Product/components used and version/fix level:

Cumulocity Production EPL Apama

Detailed explanation of the problem:

Hello,

I have tried to add one special character double quote(") in the string. But Unable to do that. My Expected spring output is “ajithkumar.thiru@gmail.com

I have tried the below ways to do it. Please find below

// sentEmailID:=“"”+getStringOrBlank(sentEmail[i])+“"”+sentEmailID;–not worked
//sentEmailID:=getStringOrBlank(sentEmail[i])+doubleQuote+sentEmailID;–not worked
//sentEmailID:=getStringOrBlank(sentEmail[i])+char(34)+sentEmailID; --not worked
//sentEmailID:=getStringOrBlank(sentEmail[i])+“\u022”+sentEmailID; --not worked
//sentEmailID:=getStringOrBlank(sentEmail[i])+“”“”+sentEmailID; --not worked

Please provide the advice to us!

Please try escape using \

Like
sentEmailID:="\""+getStringOrBlank(sentEmail[i])+"\""+sentEmailID;

string email:= "\"ajithkumar.thiru@gmail.com\"";
should output "ajithkumar.thiru@gmail.com"

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.