sql:instr( $str as xs:string, $n as xs:string ) as xs:unsigned
Find the starting location of a pattern in a string.
sql:instr("abcd rf","bc") => 2