Find Substring in Text#
Find a substring in the text.
| Text | [Text] Input string. |
| Substring | [Text/List] The substring or list of substrings to search for. An array can be specified using the command @("text1","mes"). |
| Start Index | [Number] The starting position for the search. Indexing starts at 0. |
| Whole Word | Word boundaries will be considered during the search. For example, when the property is enabled, the value "Value" will be found in the text "This Value", but will not be found in the text "This ValueTest". If the property is disabled, the value "Value" will be found in both examples. |
| Check Type | Select the type of check. Possible values:
|
| Reverse Check | When checking, swap the input values "Text" and "Substring". |
| Extended Check | If enabled, the check will use wildcard characters (Wildcard). For example: If the property is disabled, the check will be performed in a simple way and will be faster. |
| Case Sensitive | If enabled, the check will consider the case of characters; otherwise, it will be ignored. |
| String Index | [Number] Returns the zero-based index of the first occurrence of the specified string value. |
| Found String | [Text] Returns the value of the found substring. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Output Direction | Select the output direction from the block in case of an error. Possible values:
This property allows you to determine the output direction in case of errors for blocks that do not contain the "If Error" connector (for example, the "Condition" block). If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Message | [Text] Returns detailed information about the error in case of incorrect execution of the block. |