Description
Searches for a piece of text within another piece of text and returns the start position if found.
Syntax
InStr(<texttosearch>,<texttofind>,[index])
Arguments
Argument
Type
Description
Optional
texttosearch
text
Specifies the text value to be searched
No
texttofind
text
Specifies the text to find within texttosearch
No
index
number
Specifies which item to return if texttofind is found multiple times
Yes
Returns
Returns a number specifying the start position of the first occurrence of one string within another.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed