INDEX (string, substring) A function that searches a string for the first occurrence of a substring and returns the starting position of the substring as an INTEGER*4 or INTEGER*8 (AXP only) value.