Hi All,
I am getting a string output as “No\r\n”. How can I remove ‘\r\n’ and trim it?
Hi All,
I am getting a string output as “No\r\n”. How can I remove ‘\r\n’ and trim it?
you can use String.Replace(“\r\n”,“”)
Hi @somya177
it gives error that character constant must contain exactly one character
that’s only I have tried…it hasn’t give the result as “No” .infact the same value
Have you tried this?
String = string.Trim.split("\"c).First()
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.