I am making an application i have to compare two strings for a specific word
for eg
string a="abc";
string b="abcController";
I have to compare a and b to match abc
I am using Equals or CompareTo but these are not working
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the simplest fashion, you can use the
Containsmethod: