1. If I want to extract "in a string" so any string after the 5th space.
2. If I want to extract "between spaces" so any string between the 3rd space and 5th space.
The Oracle command INSTR (instring) will locate the position of a space within a string.
The Oracle command SUBSTR (substring) will extract the portion of a string within a larger string.
So, use INSTR to locate the 3rd and 5th spaces. Use SUBSTR to get your portions of the string.
==================================
advanced cognitive capabilities and other marketing buzzwords explained with sarcastic simplicity
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.