Online Java endsWith() function

endsWith - Checks whether a string ends with the specified character(s)


Run on Java version: