Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21100

String removes everything after comma

$
0
0
Hi All

I am reading text from a text file into a string variable. The problem is that it cuts of everything after the first comma when i read into the variable. Am i doing something wrong?

This is the line in the text file:
Error: There are errors on the log file, Import cannot continue
Please check the log file and correct the error, then rerun import

and this is my code:
Code:

   
Open "C:\Email.txt" For Input As #1
Input #1, FileContent
Close #1


Viewing all articles
Browse latest Browse all 21100

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>