Sök i strängnod¶
The Find in String node searches for a substring within a string and outputs the position of the first match as well as the total number of matches.
If the substring is not found, the Count output will be zero.
Inmatningar¶
- Sträng
Den indatasträng i vilken sökningen ska utföras.
- Sök
Den delsträng som ska sökas efter i inmatningssträngen.
- Läge
Determines how the first match is found.
- From Start:
Finds the first occurrence of the substring starting from the beginning of the string.
- From End:
Finds the last occurrence of the substring by searching from the end of the string.
Utgångar¶
- Först funnen
The start index of the first matching occurrence of the substring.
When Mode is set to From End, this corresponds to the start position of the last occurrence.
- Antal
Det totala antalet förekomster av delsträngen i indatasträngen.