Find position in text
Description
Finds the index of the character inside the text
Input Ports
| Name | dataType | sourceType | required | description |
|---|---|---|---|---|
| Text value | text | link-manual | true | The text that will be used to find the predicate in |
| Predicate | number | link-manual | true | The predicate value that should be found inside of the text value |
Scenarios
- The user wants to find the start index of a
wordorcharacterinside thetext value
Use case
Inputs
- Text value:
Hi, I am a Jack Russel - Predicate:
Jack
Experienced tips
- If the
text valueare empty, the process will stop and provide you with the following error.Cannot read property 'indexOf' of null - If the
predicateare empty, the process will continue and provide you with a Char index of0
Search Tags
Find start position of word within text