Hi All,
Please help me to solve this.
This is my string
str = "aaa\n\n\nbbb\n\nccc\ddd\n" means four blank lines, all together eight lines
I want to return this in one line
Output should be like this (aaabbbcccddd) in single line
I used various trim functions to get the output but still i am failing to do it. if Anyone know the possible way, please help on this.
Thanks -Samitha