INSTR4
Example
Section titled “Example”SELECT INSTR4('HELLO', 'H') AS positionFROM dual;Output
Section titled “Output”POSITION1Explanation
Section titled “Explanation”In the provided example, INSTR4 function is used to find the position of the character ‘H’ in the string ‘HELLO’. The function returns 1 as ‘H’ is the first character in the string.