2
Answers

string comparison and replacement

Sairam

Sairam

14y
1.5k
1
I have replace the words like "a an the " in the given string to the empty space.. this to be in csharp web application
if given string has "c# corner is a very informative site" then result shuld be " c# corner informative site" ,it has to remove is ,a,very words from the given sentences...


Answers (2)
0
dlapkur

dlapkur

NA 3 0 19y
thanks, i took the road you suggested and it allmost works :), ill get it soon though. good luck with your hard drive recovery and thanks again for your time. shay.
0
Mykonine

Mykonine

NA 520 0 19y
To select text, you should use a combination of the "SelectedIndex" and "SelectionLength" properties. I don't have visual studio right now since I'm still on recovering from a hard drive crash so I can't give you much more than that.