instr has 1 variant:
instr
instr function returns the location of a substring in a string. If substring is not found in string, then the instr function will return 0.
int instr(char string, char substring);
char string
char substring
int pos;pos = instr("Tech on the net", "e");
Result: 2 (the first occurrence of 'e'
Last updated 5 years ago