Product DocumentationDeveloper GuidesODSL LanguageFunctionsAll FunctionsendsWithOn this pageendsWithTests to see if the first string ends with the specified suffix. If either the string or the suffix are null, it returns falseSyntaxboolean = endsWith(str, suffix)Exampleprint endsWith("Patent", "tent")> true