String ends with

suggest change

To find if a string ends with a pattern, the end_with? method comes in handy

str = "I like pineapples"
str.end_with?("pineaaples")      => false

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents