C#:Checking for a Substring

From Progzoo
Jump to navigation Jump to search

==

We use the method IndexOf

This returns -1 if the second string does not show up in the first.

The code selects those countries that have a double "o".

[Font] [Default] [Show] [Resize] [History] [Profile]