the sentense is :
"Love street\r\n Mumbai \r\n India"
thank you
denny
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dorababu MekaPosted Sep 10, 2010, 6:28 AM
make a string builder
sb.Replace("\r\n", String.Empty);
else
make a string declated as s="Your text"
s.Replace("\r\n", String.Empty);
Try this
string s= "Love street\r\n Mumbai \r\n India";
string s1=s.Replace("\r\n", String.Empty);
console.writeline(s1);
Mark as answer if Helpful
AnkurPosted Sep 10, 2010, 6:43 AM
i think following might help, if you want to split the given string at "\r\n":
"Love street\r\n Mumbai \r\n India".Replace("\r", string.Empty).Split('\n');