Question:
Is there a function in Informix equivalent to Oracle’s instr() that returns the position of a character within a string? Also, is there a function that counts the number of times a given character repeats within a string?
Answer:
Neither of these Oracle-specific functions are SQL-92 compliant. Informix does not have them. You may be able to create a workaround by using a combination of the TRIM and LENGTH expressions.