comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » extracting specific substrings from a text-file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
extracting specific substrings from a text-file [message #54513] Tue, 19 June 2007 05:59
BavarianMike86 is currently offline  BavarianMike86
Messages: 9
Registered: May 2007
Junior Member
Hello!

I have following text-file:

---INT---
123
435
789

---EST--
abc
def

---SAT---
x234
y567
z01


Now I want to extract these substrings:

a = '123, 456, 789'
b = 'abc, def'
c = 'x234, y567, z01'


How can this problem be resolved?

Greeting from Bavaria,
Michael
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Intersection of ROIs
Next Topic: How to retrieve information from an event to use it in another event?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:39:19 PDT 2025

Total time taken to generate the page: 0.00734 seconds