asp.net coding for noisy word removal in a sentence
asp.net coding for noisy word removal in a sentence
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.
Madhu KPosted Nov 12, 2010, 8:09 AM
string str1 = "str strenth";
Response.Write(str1.Replace("str",""));
The output will be "enth".
Gomathi PalaniswamyPosted Nov 12, 2010, 5:08 AM
You can do like
string final="noisy place";
int q = final.IndexOf("noisy");
final = final.Remove(q, 5);