Calculation Formulas
Back to Calculation Formulas Overview
Back to Functions Overview
Function "EndsWith"
EndsWith(text, suffix)
Function: Checks if "text" ends with the given "suffix", i.e. if the last characters in "text" are equal to the characters in "suffix". Returns "true" if the suffix matches, "false" if not.
Return-Type: Boolean
Arguments:
text - Type Text: The text string whose suffix is to be checked.
suffix - Type Text: The suffix to check for.
Examples:
EndsWith("a longer text", "text")
EndsWith(&VALUE;, "xyz")