what is the easiest way to figure out if a string ends with a certain value?
Regular expressions
"Hello world".match(/world$/)