String action - Find
Last updated
Was this helpful?
Last updated
Was this helpful?
This action allows user to verify if string A does not contain string B, allowing for quick validation of text absence
Input: <actual string>;<string to find>;<wildcard>(optional)
actual string;string to find
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
wildcard: this is declaration where user will declare which wildcard character is using for current execution
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