Name

ends with — final containment

Syntax

                     string1 ends with string2
list1 ends with list2
                  

Description

Same as contains with the additional requirement that the second operand come last in the first operand. Records are not ordered, so they aren’t eligible operands.

Get AppleScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.