P
Paula
Hi !!
I have to find some words in a string.
I can use string.IndexOf, LastIndexOf, etc, but they are case
sensitive.
And there is another problem : If I found the word, I have to get
three words before and after the found word .
Example:
string s = "This is an example about how to find words in a string";
string wordToFind = "Example"
I have to get : This is an example of how to
Can someone help me???
Thanks
I have to find some words in a string.
I can use string.IndexOf, LastIndexOf, etc, but they are case
sensitive.
And there is another problem : If I found the word, I have to get
three words before and after the found word .
Example:
string s = "This is an example about how to find words in a string";
string wordToFind = "Example"
I have to get : This is an example of how to
Can someone help me???
Thanks