Tests whether or not a String ends with the characters of another String.
myString.endsWith(myString2)
myString: a variable of type StringmyString2: another variable of type Stringtrue: if myString ends with the characters of myString2false: otherwise