How to convert (/n)below data into single line
need to convert as raghu, ravan,ram
Hi Chaitanya Pulla. Thanks for your inquiry. Product specific questions should be asked in the Community Forums space. This will ensure that the maximum (and correct) set of eyes are on your question so that you get a timely response. I have moved the question for you.
Please let me know if you have any questions or concerns.
You can use a search/replace like this:
Hi Leif Jacobsen,
What is the purpose of \r expression because without \r i was able to convert as requested.
Sometimes you have both a Carriage Return and a Line Feed as shown here from Notepad++.
I always use both when doing a search/replace.
Adding to this, new line characters are system dependent.
for Unix systems --> \n
for Windows systems --> \n\r
for Mac systems --> \r
You can get this line separator in the groovy script using below:
LINE_SEPARATOR = System.getProperty("line.separator");
Retrieving data ...