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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write to a text file gets a quotation mark 1

Status
Not open for further replies.

GP

IS-IT--Management
Jan 14, 2002
61
GB
Hello

I am using a string to build up some html coding using database entries.

Then i use write to put the string in a text file and name is ____.htm.

The problem is it exports a leading and trailing " which is then displayed in the file.

How do I stop it carrying these to the text file (or delete them after it is done?
 
Write # inserts commas etc, as it is used to create comma delimited files for data exchange. If you want straight text use the Print # Statement instead, which has the same syntax.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top