Java: If a string appears at the end of other string

Java: If a string appears at the end of other string

More to explore

Based on this image's title: “Java: If a string appears at the end of other string