i trying to remove the “\n” character along with empty spaces from string thru mapper expression, but it’s not working.
- input value JsonStr := [\n “AC”\n]
expected output := [“AC”]
- input value JsonStr := [\n “AC”,\n “BD”,\n “DE” \n]
expected output := [“AC”,“BD”,“DE”]
i tried with JsonStr.toString().replaceAll(/\n/,“”). but it’s not working