How to parse & read from .txt file (NOAA Weather)
问题 I am trying to parse and read from a .txt file, from the NOAA Weather site. How can I search the file to find certain text and insert it into the database? I'm trying to search for Greenville and pull the conditions and temp. Then push that into my database, along with other cities? Any code that you are willing to share would be appreciated. Code: <cffile action="read" file="#expandPath("./NWS Raleigh Durham.txt")#" variable="myFile">" <cfdump var="#myfile#"> Content: National Weather