INSTR

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at INSTR.

Finds the first occurrence of textitem2 in textitem1.

Syntax

  
name  
 INSTR [[position,]] textitem1, textitem2  

Remarks

The starting position is optional. Each text item can be a literal string, a constant preceded by a %, or the string returned by a macro function.

See Also

Directives Reference