Search
Ruby provides start_with? to check if a string starts with the given string.
start_with?
Here is another example: