find substrings inside string

Posted by senzacionale on Stack Overflow See other posts from Stack Overflow or by senzacionale
Published on 2010-04-22T09:38:33Z Indexed on 2010/04/22 9:43 UTC
Read the original article Hit count: 235

Filed under:

How can i find substrings inside string and then remember and delete it when i found it.

EXAMPLE:

select * from (select a.iid_organizacijske_enote, 
       a.sifra_organizacijske_enote "Sifra OE", 
       a.naziv_organizacijske_enote "Naziv OE", 
       a.tip_organizacijske_enote "Tip OE" 

I would like to get all word inside " ", so

  • Sifra OE
  • Naziv OE
  • TIP OE

and return

select * from (select a.iid_organizacijske_enote, 
       a.sifra_organizacijske_enote,
       a.naziv_organizacijske_enote, 
       a.tip_organizacijske_enote

i try with regex, indexOf() but no one works ok

© Stack Overflow or respective owner

Related posts about java