The contains method can be used if you want to check if a string
contains certain characters. It's fairly simple to use. Here's an example:
A more complicated, and probably more useful, method that you'll need to know about is called IndexOf. That's the next lesson.
0 comments:
Post a Comment