Forum Discussion
bojanvelevski
5 years agoValued Contributor
Hi @arunnp,
Check if this is the correct format according to your requirement:
If it is, use the following expression in a mapper:
$chathist.length > 0 ? $chathist.map(x=>x.toString().replaceAll(‘,’,‘&’).replace(/{|}/gi,‘’)) : $chathist