Question
1
Replies
48
Views
Posted: April 30, 2018
Last activity: May 2, 2018
Closed
Solved
How can Replace a tabulation in Json File
Hello Team,
Can someone please help me how can I fix this issue.
I would like to replace a tabulation in a comment field, I used @replaceAll(.Comment,"\t","") but it doesn't work.
I have the same issue as explained in the article but I didn't understand the solution proposed
https://pdn.pega.com/support-articles/json-generated-service-doesnt-handle-tabulations-properl
Best Regards,
Hello,
It doesn't work with @replaceAll(.comment,"\\t","") but it works well with @pxReplaceAllViaRegex(.comment,"[*\\t]"," ")
Best Regards,
Imen