Ends With

The Ends With node checks if a string finishes with a specific suffix. This is useful for validating command patterns or identifying specific types of data within a longer text string.
When to use this node:
* Command Validation: Checking if a player-typed command ends with a required parameter or punctuation.
* Suffix Detection: Identifying specific markers in raw serial data or MQTT payloads.
* Flexible Logic: Enabling ignore case to ensure suffixes are detected regardless of player capitalization.
Connectors in
- S [type: string]
- subS [type: string]
Connectors out
- result [type: bool]
Node properties
- ignore case [type: bool]
- S [type: string]
- subS [type: string]