We help IT Professionals succeed at work.
Get Started

capture len of text and put every part of text in fields

jbadia
jbadia asked
on
450 Views
Last Modified: 2012-06-27
hello, I need to capture a len of text from a file and put every part of this texstream in some fields.

The file is a txt and contains this text stream:

L001!00900013!002                                                              

L002!BI                                                                        enter
IG/900013/BI       27/04/2004     R E C A M B I O S          enter
   1 TULIPA APLIQUE 1501254                                        enter        
   1 CRISTAL APLIQUE                                                   enter        
L003!VN                                                                       enter
IG/900013/VN     27/04/2004     R E C A M B I O S           enter                
   3 TORNILLOS                                                            enter    
   1 BRAZO LAMPARA CRISTAL                                       enter              

where: Id = L001 or L002...
order day number = 00900013
number of customers= 002
customer Id = BI or VN
order number = IG/900013/BI or ...VN
date = date
type = recambios
order = 1 TULIPA APLIQUE 1501254, etc

And every L00... is a new order

please, its so urgent. Can anyone help me? Thanks
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 26 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE