String action - Find
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built action located under @Generic element, instructs Avo Assure to check whether a specific string is present or not within a longer set of strings.
Input Value: <actual string>;<string to find>;<wildcard>(optional)
actual string;string to find (Required)
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.
wildcard (optional)
wildcard: this is declaration where user will declare which wildcard character is using for current execution
Output Value:
<Dynamic Variable> (Optional)
This variable stores the comparison valuesa
<Dynamic Variable>
(Optional)
This variable stores the status as true or false
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