If contains¤
Accepts two or three inputs. If the first input contains the given value, the second input is forwarded. Otherwise, the third input is forwarded (if present).
Examples¤
Notation: List of values are represented via square brackets. Example: [first, second]
represents a list of two values “first” and “second”.
Example 1:
-
Parameters
- search:
match
- search:
-
Input values:
[matching string]
[this is a match]
-
Returns:
[this is a match]
Example 2:
-
Parameters
- search:
match
- search:
-
Input values:
[different string]
[this is a match]
-
Returns:
[]
Example 3:
-
Parameters
- search:
match
- search:
-
Input values:
[different string]
[this is a match]
[this is no match]
-
Returns:
[this is no match]
Parameter¤
Search¤
No description
- Datatype:
string
- Default Value:
None