Skip to content

Latest commit

 

History

History
52 lines (47 loc) · 989 Bytes

File metadata and controls

52 lines (47 loc) · 989 Bytes
title INSTR | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic article
f1_keywords
InStr
dev_langs
C++
helpviewer_keywords
INSTR directive
ms.assetid fc37f6a2-3c95-47b2-b6bb-1066edd25994
caps.latest.revision 7
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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