strContains
Modified on Wed, 02 Aug 2023
Description
Check whether a string contains a search string.
Syntax
strContains(text, search)
Parameters
Input Parameter | Type | Description |
---|---|---|
text | string | Source string |
search | string | The string to search for |
Return value
Type |
---|
boolean |
Sample
Example | Result | Description |
---|---|---|
strContains('invoice date : 2020-10-10', 'date') | true | Check if the input string contains search string 'date' |
To view all the String functions, click here.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article