Does anyone know how to print the " character to a text file using the default Print # statement. Because everytime i try to do it the " char ends the string and everything after isn't recognised
Printable View
Does anyone know how to print the " character to a text file using the default Print # statement. Because everytime i try to do it the " char ends the string and everything after isn't recognised
Code:Print #1,Chr(34)
Print #intnum,Chr(34)
Use quadro-quotes.
Code:Open "MyFile" For Output As #1
Print #1, """"
Close #1
If you want to quote the text in a file, use the Write statement.
Code:Open "MyFile" For Output As #1
Write #1, "This is quoted."
Close #1
BTW, your name is chr(42)
lol