FIND Function: Difference between revisions
From Planfix
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
''Format'' | ''Format'' | ||
FIND(search_text;string) | FIND(search_text;string) | ||
''Example'' | ''Example'' | ||
FIND("urgent";<nowiki>{{Task.Name}}</nowiki>) | FIND("urgent";<nowiki>{{Task.Name}}</nowiki>) | ||
Revision as of 01:56, 11 February 2021
The FIND() function finds an occurrence of one text string within another and returns the initial position of the search string relative to the first character of the second string.
- The function is case-sensitive
- If the substring is not found, the function returns -1.
- If the empty string ("") is set as the argument for search_text, the FIND function will return 1.
Format
FIND(search_text;string)
Example
FIND("urgent";{{Task.Name}})