I'm trying to read a data file that has multiple records. Each record has a start and end word:
ie. hello(start) ---DATA--- goodbye(end)
how can I search for the start and end words and read the data
in between?
set input [open c:\hello.txt r]
set contents [split [read $input] \n ]
?
?
ty
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.