I need to take the value inside the brackets ( [ ] ): Example:
[TextValue][WINDOM][Camry]
My code:
select substr('[TextValue][WINDOM][Camry]',
instr('[TextValue][WINDOM][Camry]', '[',1,2),
instr('[TextValue][WINDOM][Camry]', ']',1,2) )
from dual
desired result: WINDOM