endsWith()

Returns TRUE if the current String ends with s; otherwise FALSE.

Syntax

Boolean endsWith(String s)
  1. s is the suffix to search for.