AnsweredAssumed Answered

How do I remove \r\n from a JSON string coming from Front End while sending to SAP system?

Question asked by sidharrth.sahai on Jul 2, 2018
Latest reply on Jul 3, 2018 by 51662476

Suppose I get a string of data from frontend in JSON format as a string "abcd\r\nefgh" . At the front end, while entering this string the user presses Enter (Return Key) after the alphabet 'd' in the string. Now, when I send this data to SAP backend, the system converts the "\r\n" to '#'. Now, my question is how do I get rid of this # or how do I prevent sending this # to there system as they cannot handle this. 

Outcomes