Check Text Contents
Check if a value is present within a text.
Overview
This operation checks if a particular value (such as a string, float, or integer) exists within a text. It acts as a conditional check, allowing you to perform additional operations based on whether the value exists.
Syntax
Data
The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.
the text
Yes
the object
Yes
Parameters
Parameters are placeholders for data. Refer to the table below for details on each parameter in this operation. In the syntax, replace parameters with your own values.
target
The target text in which the search is performed.
Batch job completed.
Error code: 404
document.txt
The value of π (pi) is approximately 3.14.
Yes
value
The value to search for (text, float, or integer).
job completed
404
.txt
3.14
Yes
action
An operation that occurs if value
is present in target
.
say "The format is valid."
Yes
Examples
1. Validating a File Extension
2. Check for a Specific Error Code
Last updated
Was this helpful?