Check if Text $1.00 / 1,000 calls

List ends with

What this tool does

Use this tool to check if a list of items ends with a specific value. You provide the list and the value you are looking for, and the tool tells you whether the last item in the list matches that value exactly.

The comparison is done as simple text. This means that numbers stored as text (like '12') will not match the number 12, and extra spaces may affect the result. The check relies entirely on the list you provide; it does not fetch external data.

Common uses

  • Verifying that a sequence of steps ends with a final confirmation step.
  • Checking if a list of status codes ends with a success code.
  • Validating that a list of actions concludes with a required action.

Input data

Parameter Required Example Description
list Yes 1,2,3 Enter the list of items separated by commas, for example 'apple, banana, cherry'. This is required.
text Yes 3 Enter the value that should be at the end of the list, for example 'cherry'. This is required.

Output data

Field Description
result Returns yes if the last item in the list matches the value you entered, or no if it does not. For example, if the list is 'a, b, c' and you check for 'c', the result is yes.