There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
textbox1.Text.IndexOf(Cust
IndexOf looks for a string and returns the position of the string. In your case, if it returns 0 or higher, that means the string had a match in it.
There are other methods as well that might be handy... such as SubString, Replace, etc.