InStr işlevi, bir metin içinde belirtilen bir ifadenin başlangıç pozisyonunu döndürür. Kullanımı şu şekildedir: ``` InStr([start], string, substring, [compare]) ``` Parametreler: Start. String. Substring. Compare. Örnekler: `InStr(1, "Tech on the Net", "T")`. `InStr(1, "Tech on the Net", "t")`. `InStr(1, "Tech on the Net", "the")`. `InStr(1, "Tech on the Net", "M")`. Eğer aranan ifade metin içinde varsa, ilgili ifadenin başlangıç pozisyonu döndürülür; yoksa 0 değeri döndürülür.