• 1.6k
  • 464
  • 32.5k

How to find the exact word match

Feb 4 2020 12:21 AM
Hello Memebers,
Hope you are doing good!!
string mandatory_skills = "html,javascript,java,.net";
string[] arrskills = mandatory_skills.Split(',');
for (int i = 0; i < arrskills.Length; i++)
TextInfo myTI = new CultureInfo("en-US", false).TextInfo;
string skill_lower = myTI.ToLower(arrskills[i]);
string skill_upper = myTI.ToUpper(arrskills[i]);
string skill_title_case = myTI.ToTitleCase(arrskills[i]);
string strhtml = wordHTML.Trim();
When I am trying to search for Javascript and Java..
Javascript also taking it as a java
How can we exactly search..

Can any one guide me here.
Thank you in advance!! 

Answers (3)