Description
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.
Declaration
int instr(char string, char substring);
Parameters
Return Value
Example
int pos;pos = instr("Tech on the net", "e");
Result: 2 (the first occurrence of 'e'
See also