Click to See Complete Forum and Search --> : Assigning a string containing a "


November 8th, 1999, 08:02 PM
Quick question, how do you assign a String characters that contain a "
For example I want a string to actually contain this "anything" the word anything and the quotes ""

Hunter
November 8th, 1999, 10:34 PM
try this

dim msg
msg = InputBox("Type Stuff Here!")
Text8.Text = Chr$(34) & msg & Chr$(34)

hunter

November 9th, 1999, 01:03 AM
Hi there,
u can use this code to add a " to a string

msg = """" & "Hello" & """"