Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Use of INSTR to strip directory and extension from file

Re: Use of INSTR to strip directory and extension from file

From: steph <stephan0h_at_gmx.net>
Date: 15 Feb 2006 08:24:11 -0800
Message-ID: <1140020651.828157.98550@g44g2000cwa.googlegroups.com>


I would propose you look into the regexp-functions. For instance regexp_substr():

select regexp_substr(regexp_substr('c:\Program Files\A Directory\File1.file','[^/\]+$'),'^[^.]+') from dual

br,
stephan Received on Wed Feb 15 2006 - 10:24:11 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US