This function replaces the first occurrence of a given substring with a given replacement.
Bash
findReplaceFirst(text, stringToBeReplaced, replacement) #Output: Text
If you want to use a regular expression instead, have a look at replaceFirst().
If you want to replace all occurences of a substring, have a look at findReplaceAll().
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Create a sub-task for every sub-task closed |
|
findReplaceFirst() first() findPattern() toString() sum() toNumber() |