SpriggsySpriggs,
Job well done! It works great... :-))
your method of removing the extra $$ and .. is a lot more simple than the way I done it. I'm going to have to make a note of this for sure..
weather = STRING.Remove(weather, CHR$(10) + ".")
weather = STRING.Remove(weather, "$$")
My way:
OPEN "fetch1.txt" FOR INPUT AS #1
OPEN "fetch2.txt" FOR OUTPUT AS #2
WHILE NOT EOF(1)
INPUT #1, LineTxt
IF LEFT$(LineTxt, 1) = "." THEN
PRINT #2, " "PRINT #2, MID$(LineTxt, 2); " "
ELSE
PRINT #2, LineTxt 'write output to new file fetch2.txt
END IF
WEND
CLOSE #1
CLOSE #2
' Remove $$
OPEN "fetch3.txt" FOR INPUT AS #1
OPEN "forecast.txt" FOR OUTPUT AS #2
WHILE NOT EOF(1)
INPUT #1, LineTxt2
IF LineTxt2 = "$$" THEN
LineTxt2 = " "
PRINT #2, " "
ELSE
PRINT #2, LineTxt2 'write output to new file forecast.txt
END IF
WEND
CLOSE #1
CLOSE #2
Guess I just like taking the long way around, Hehehehe
Congratulations again on a great job.