|
#1
|
|||
|
|||
|
Escape Characters: Visual Basic
I am writing an html interpreter of sorts and i need to output a quotation mark to file. How can i put a quotation in a string?
Code:
Dim string as String string = "I want to put "quotes" liek that inside a string" Last edited by BoD][eZ; June 9th, 2004 at 08:29 PM. |
|
#2
|
|||
|
|||
|
Dim string as String
string = "I want to put " & Chr$(34) & "quotes" & Chr$(34) & " like that inside a string" |
|
#3
|
|||
|
|||
|
Will it output to file correctly? IF so thanks alot man!
|
|
#4
|
|||
|
|||
|
Yes, it will output to a file correctly. However, you will need to use a Line Input statement or other method to read it back in again correctly.
|
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 05:25 AM.






