endsWith#

swordfish.function.endsWith()#

Check if X ends with str. If yes, return true; otherwise, return false.

Parameters:
  • X (Constant) – A STRING scalar/vector.

  • str (Constant) – A STRING scalar/vector.