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
putty question
Jquery dropdowns
difficulty in binding DataGridView in windows form
mysql syntax Kill id in process list
How To REMOVE VALUE from 'not checked checkboxes'
Php SOAP-ERROR: Parsing WSDL
Third Party Certificate Installation NPS 2008
Append extra data to the right of common data between files
How to send a mail when a windows server goes down?
Access 2007, form datasheet view, change display property of an element based on another element in the record