The Instr function returns the position of the first occurrence of one string within another string.
Syntax
|
The Instr function returns the position of the first occurrence of one string within another string. |
|
Instr(string, findString) |
|
Arguments: |
|
|
string |
String - The string to be searched. |
|
|
findString |
String - The string to find. |
Remarks
- Example: Instr("the quick brown fox", "quick") returns 4.
- Example: Instr("the quick brown fox", "rabbit") returns -1.
Comments
0 comments
Article is closed for comments.