on 2021 Mar 11 11:14 AM
Hi,
I need to replace new line with a space in Input string. How to achieve it in SAP CPI.
Input string is -
This is a test.
I need remove new line.
I need to replace new line with a space.
Output string is -
This is a test. I need remove new line. I need to replace new line with a space.
Regards
Hi Biju,
Try using GroovyScript. I think this is the best way to achieve that.
You can find an example of how to parse a payload in JSON using Groovy Script below:
https://answers.sap.com/questions/13141941/groovy-script-error-parsing-json-payload-in-cpi-1.html
Regards,
Robson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
11 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.