function/INSTR function/INSTR NAME INSTR -- Searches for a substring ABBREVIATION in <shift> S SYNOPSIS INSTR(<string_1>,<string_2>[,<start_pos>]) FUNCTION Returns position of string <string_2> in string <string_1> at or after the starting-position (<start_pos>). The starting-position defaults to the beginning of string <string_2>. If no match is found, a value of 0 is returned. INPUTS <string_1> - string to be searched <string_2> - string to search <start_pos> - position where searching should start RESULT Returns position of the second string in the first string (numeric). If the string was not found, returns 0. EXAMPLES PRINT INSTR("THE CAT IN THE HAT","CAT") The result is 5, because CAT starts at the fifth character in the first string. NOTES None BUGS None SEE ALSO None