Hackerrank Ruby - Strings - Methods II Solution
In this tutorial, we'll learn about the methods in String class that help us to search and replace portions of the string based on a text or pattern.
* String.include?(string) - Returns true if str contains the given string or character. Very simple! > "hello"