perfectstorm
Programmer
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
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