LOTUSSCRIPT LANGUAGE
Returns the position of the character that begins the first occurrence of one string within another string.
Syntax
InStr ( [ begin , ] string1 , string2 )
or
InStr ( [ begin , ] string1 , string2 [, compMethod ] )
Elements
begin
If you omit compMethod, the default comparison mode is the mode set by the Option Compare statement for this module. If there is no statement for the module, the default is case-sensitive and pitch-sensitive.
InStr returns the character position of the first occurrence of string2 within string1. The following table shows how the function responds to various conditions.
If you want to work with bytes, use the InStrB function.
Language cross-reference
@Middle function in formula language
Example See Also