Skip to contents

Returns location of first occurrence of needle in haystack, counting from 1. Returns 0 if no match found.

Arguments

haystack

VARCHAR

needle

VARCHAR

Examples

if (FALSE) { # \dontrun{
instr('test test','es')
} # }