Microsoft
Software
Hardware
Network
Question : Need small help
Hi all,
I have requirement for the below.client is posting a file with this format
20100722-v1-IO_90000010_M0
001_DESC00
01_LD0001_
I.txt
I want to extract the above fille output as
file1=M0001
file2=DESC0001
file3=LD0001
Please help me in advance
Answer : Need small help
If you're looking for an Oracle solution
if the above string is in column/variable "str"....
file1 = ltrim(regexp_substr(str,'_
[^_]+',1,2
),'_')
file2 = ltrim(regexp_substr(str,'_
[^_]+',1,3
),'_')
file3 = ltrim(regexp_substr(str,'_
[^_]+',1,4
),'_')
Random Solutions
cd business card
Can't locate DBI.pm in @INC
Excel/csv, move rows to another sheet based on changing value in column
Exchange 2007 Address Lists
Check validity before record is saved or edited on a form
Tablespace
log4j not writing to file
Changing hte ip address of the Symantec Endpoint Protection Server
Use different HTTP Redirects on multiple virtual directories in IIS 7.5
SBS 2008 hangs on crcdisk.sys