|
-
Problem: Reading text file with comma
Hi
I've this problem:
I read a text file and generate a text file.
Example
Source file:
----------
Hi
I come from Rome, but I live in Turin
Bye
---------
Destination file
----------
HTML = ""
HTML = HTML & "Hi"
HTML = HTML & "I come from Rome, but I live in Turin"
HTML = HTML & "Bye"
---------
but when I open the source file
and read each row for time
my program reads the sorce file so:
Hi
I come from Rome
but I live in Turin
Bye
With 4 rows instead of 3, it trasforms comma in EOL.
My code:
While Not EOF(iFile)
Input #iFile, sRow
Call WorkOnIt(sRow)
Wend
Someone can help me?
Tanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks