Contains
Description
Returns a Boolean value if the string contains the token characters or not. If the Search In string value contains the selected sequence of characters, a true Boolean value is returned. If the sequence of characters is not found, a false Boolean value is returned. A new column is created for the results.
This function is case sensitive.
Use
- Token
- Select a argument with token values or enter a token value. (String)
- Search In:
- Select a argument or enter value to compare against the token value. (String)
- Output field:
- Enter an output field name.
Example
The user is searching text for the token "artificial intelligence".
Input field | Contains() returns |
---|---|
This year, the market for AI and IoT in healthcare will grow a whopping 40%. | false |
Can artificial intelligence really create art? | true |
Hero Platform_ Example
An example of this function can be found in Hero Platform_'s library of examples.
Download the example titled "function_Contains" to see an example of this function.
Type