USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Find the position of a substring within a string
Returns the 1-based character position of the search string within the source string. Returns 0 if not found. Result is placed in the result buffer as a string.
| Parameter | Description |
|---|---|
| cmd | Source string to search within |
| Argument 0 | Substring to search for |
Instr "Source string to search within", "Substring to search for"