endsWith#

swordfish.function.endsWith()#

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

参数:
  • X (Constant) -- A STRING scalar/vector.

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