Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built action located under @Generic element which instructs the Avo Assure Client check whether a specific string is present or not within a longer set of strings.
Input: <actual string>;<string to find>;<wildcard>(optional)
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
A user registration system checks that usernames do not contain special characters. Before creating an account, it verifies that the username (String A) does not include any restricted characters (String B) like "@, #, $, %".
Example:
Entered Username (String A):
"John_Doe123"
Restricted Characters (String B):
"@" or "# or $"
Note: Validation of Example 1. Since John_Doe123 does not contain any restricted character, the check returns True, allowing registration 2. If the username were John@Doe, the check returns False, because the username content Special characters
actual string
The input syntax contains the actual string within which an expected string is to be found which will be written in the input column along with the actual string and separated by a semicolon.
string to find
Which required string to find
wildcard (Optional)
wildcard: this is declaration where user will declare which wildcard character is using for current execution In Avo Assure ‘?’ And ‘*’ are supported as wildcard character
Not (Optional)
Not is used when working with negative scenario and it is not case sensitive