Any idea on how I would be able to do a search within C# that does
ranges or words
For example
I want to search for Chicken in the string
string s1 = "This is Great Chicken";
string s2 = "Chicken";
return s1.IndexOf(s2) >= 0
The trick is how would I search for: Person doing the search
misspelled the word Chickin (Happens all the time);
string s1 = "This is Great Chicken";
string s2 = "Chickin";
return ???
or
Worst yet
string s1 = "This is Great Chickin";
string s2 = "Chicken";
Person enter the search phrase misspelled the word Chicken;
string s1 = "This is Great Chickin";
string s2 = "Chicken";
ranges or words
For example
I want to search for Chicken in the string
string s1 = "This is Great Chicken";
string s2 = "Chicken";
return s1.IndexOf(s2) >= 0
The trick is how would I search for: Person doing the search
misspelled the word Chickin (Happens all the time);
string s1 = "This is Great Chicken";
string s2 = "Chickin";
return ???
or
Worst yet
string s1 = "This is Great Chickin";
string s2 = "Chicken";
Person enter the search phrase misspelled the word Chicken;
string s1 = "This is Great Chickin";
string s2 = "Chicken";
Comment