Compares two strings and evaluates to true if the second does not contain the first, false if it does.Syntax:
<subString> is not in <string>
Examples:
"S" is not in "BSD" -- evaluates to false
Use the is not in operator to find out whether a string does not contain a substring.
The expression firstString is not in secondString is equivalent to
not (secondString contains firstString)
The is not in operator is the logical inverse of the is in
operator. When one is true, the other is false.
Parameters:
- substring (string): The substring and string are both strings, or expressions that evaluateto strings.
- string (string):
- Description:Use the is not in operator to find out whether a string does notcontain a substring.