Syntax: InStr(StringToSearch, StringToFind)
The Function will return the position of the first occurence of
StringToFind within StringToSearch. The Function will return 0
if StringToFind is not found.
Example 1:
Example 2:
Result displayed on the screen would be:
2
Note you can set the starting position for each search. If omitted, search begins at the first character position.
Example 3:
Result displayed on the screen would be:
6
Get the best asp web hosting provider now and save 30%
Plug and play ASP membership script that integrates with PayPal to let you charge recurring membership fees.