Specifies the string to be searched.
Specifies the string for which to search. When String2 is empty, True is always returned.
1. |
The following example searches the string "Matrox Design Assistant" for "Matrox" and returns True.
CONTAINSSTRING("Matrox Design Assistant", "Matrox")
|
2. |
The following example searches the string "Matrox Design Assistant" for "MATROX" and returns False.
CONTAINSSTRING("Matrox Design Assistant", "MATROX")
|
3. |
The following example searches the string "Matrox Design Assistant" for "ox Des" and returns True.
CONTAINSSTRING("Matrox Design Assistant", "ox Des")
|
4. |
The following example searches the string "Matrox Design Assistant" for an empty string and returns True.
CONTAINSSTRING("Matrox Design Assistant", "")
|