Specifies the string to be searched.
Specifies the string to for which to search. When EndString is empty, TRUE is always returned.
1. |
The following example searches the end of the string "Matrox Design Assistant" for "Assistant" and returns True. ENDSWITH("Matrox
Design Assistant", "Assistant")
|
2. |
The following example searches the end of the string "Matrox Design Assistant" for "Design" and returns False. ENDSWITH("Matrox
Design Assistant", "Design")
|
3. |
The following example searches the end of the string "Matrox Design Assistant" for "ASSISTANT" and returns False. ENDSWITH("Matrox
Design Assistant", "ASSISTANT")
|
4. |
The following example searches the end of the string "Matrox Design Assistant" for an empty string and returns True. ENDSWITH("Matrox
Design Assistant", "")
|