Returns location of first occurrence of needle in haystack, counting from 1. Returns 0 if no match found.
Examples
if (FALSE) { # \dontrun{
instr('test test','es')
} # }
Returns location of first occurrence of needle in haystack, counting from 1. Returns 0 if no match found.
if (FALSE) { # \dontrun{
instr('test test','es')
} # }