Specifications
365
• A returned value of
INSTR is a decimal number from 0 to 255, depending upon
the conditions as listed below.
Run-time errors:
Reference:
Conditions Returned value
If
searchstring is found within
targetstring:
First character position of the search
string first found.
If startposition is greater
than the length of
targetstring
or 255:
0
If
targetstring is a null string:
0
If searchstring is not found:
0
If searchstring is a null string: Value of startposition.
1 if
startposition option is omit-
ted.
Error code Meaning
05h
Parameter out of the range
(
startposition is out of the range.)
Functions:
LEN