Nodo Buscar en texto¶
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.
Entradas¶
- Cadena de texto
La cadena de entrada en base a la cual se producirá la búsqueda.
- Buscar
The substring that will be searched for within the input string.
- Modo
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.
Salidas¶
- Primera ocurrencia
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.
- Cantidad
The total number of occurrences of the substring within the input string.