Learn Ruby
String
3.21
Lesson

start_with?

Ruby provides start_with? to check if a string starts with the given string or not.

Here is another example.