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
Newsletter emails stuck in qmail queue
I need a website done for my company
Failover internet routing advice
Installing PHP XP (IIS 5.1)
PL/SQL Performance
Silverlight Master Details
Master Page Layout problem
Optional parameters
Arcserve will not load second tape
windows 7 home password policy