StringContains
Alias:StringContains, DoesString, DoesStringContain
Output:SCLBool
Returns true if the String contains the substring.
| Parameter | Type | Required | Position | Default Value | Summary |
|---|---|---|---|---|---|
| String | string | ✔ | 1 | The superstring to check | |
| Substring Contain | string | ✔ | 2 | The substring to find | |
| IgnoreCase | bool | 3 | False | Whether to ignore case when comparing strings. |
Examples​
Example 1​
SCL​
StringContains String: 'hello there' Substring: 'there'
Expected Output​
True
Example 2​
SCL​
StringContains String: 'hello there' Substring: 'world'
Expected Output​
False
Example 3​
SCL​
DoesString 'hello there' Contain: 'ello'
Expected Output​
True