instr

Return an integer value specifying the start position of the first occurrence of one string within another. The search for the substring begins at a specified position.

Syntax

integer instr(string string1, string string2, integer startLoc)

Parameters

Return Value

Returns the position of the first occurrence of string2 in the search area of string1. The search area is defined as the part of string1 starting from the startLoc index to the end. Returns zero if string2 is not found.

Example

Test Lines

Result


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400