I copied an instr() function from the postgres docs for some triggers i was creating, but it turns out oacs had its own instr() functions.
Sorry for the trouble. but thanks tammy for the effort...