boolean stringContains(string inFull, string inPart)
Description
Determines whether or not string inPart contained in string inFull.
will return true if yes and false if not.
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inFull | string | The string to search in |
inPart | string | The string to look for |
Return Type
Boolean
Overloads
List of overloads for this function
boolean stringContains(string inFull, string inPart, boolean inIgnoreCase)
Parameters for overloads:
Parameter | Type | Description |
---|---|---|
inFull | string | The string to search in |
inPart | string | The string to look for |
inIgnoreCase | bool | 'true' if to ignore upper/lower cases, or false otherwise |
Examples
stringContains(Answer(QRef(2)), "hello");
Will return true if the word 'hello' is found in the string of answer for question index 2.
Comments
Please sign in to leave a comment.