Ends With
DataTarget independent
text.ends-withWhether the text ends with Suffix. Empty Suffix is always true.
Example use
Check whether a filename ends in .png.
Node preview
Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.
Loading node preview…
Data inputs 2
- Text
textString The text this node reads, converts, searches or types.
Default availableDefault:""- Suffix
suffixString The string to check at the end of the text.
Default availableDefault:""
Data outputs 1
- Result
resultBoolean The result of this data operation, with its type determined by the matching inputs.
Version and node identity
Version 1.0.0
sha256:667a6e3631b976507a68ebc925f17357ccfa4a9b39cb4cae82bc435ea9d58846