Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. perfectstorm

    Searching for records in a data file

    ty Bong but (forgive me) if you had multiple startwd and endwd in one file how would you iterate ie.helloabc def ghi 123 AAAgoodbye; set var1 hellojkm nop qrs 456 BBBgoodbye; set var2 hellotuv wxy zzz 789 CCCgoodbye; set var3 etc.. thx again
  2. perfectstorm

    Searching for records in a data file

    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

Part and Inventory Search

Back
Top