Skip to content

INSTR4

SELECT
INSTR4('HELLO', 'H') AS position
FROM
dual;
POSITION
1

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.