Operations ‣ Rules ‣ Utilities ‣ Tools ‣ extractFirstTerm
-
text
is the text in which the search is performed. -
textToSearchAndShow_x
is the text that is searched for or returned.
If textToSearchAndShow_x
was found, the textToSearchAndShow_x
is returned.
If no textToSearchAndShow_x
was found at all, an empty text is returned.
Example
extractWords(description, 'ladies', 'women', 'men', 'uni')
- “women’s top” → “ladies”
- ``“women’s shoes” → “women’s”