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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dorababu MekaRank #457 · 5.5K reputationPosted Sep 10, 2010, 2:28 AM EDT
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
AnkurRank #1,353 · 1.2K reputationPosted Sep 10, 2010, 2:43 AM EDT
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');