1. [ C++ ]
The code selects those countries that have a double "o".
test text
1. [ C# ]
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".
test text
1. [ Java ]
We use the method
ContainsThe code selects those countries that have a double "o".
test text