You escape a double quote with another double quote, e.g.
Console.WriteLine("He said ""Hello"" to me.")
will display:
He said "Hello" to me.
In your case, I think you code should be something like this:
RichTextBox2.Text = "<furnitype id=""" & TextBox3.Text & """>"
I would tend to suggest using String.Format
or string interpolation to make the code clearer though:
RichTextBox2.Text = String.Format("<furnitype id=""{0}"">", TextBox3.Text)
or:
RichTextBox2.Text = $"<furnitype id=""{TextBox3.Text}"">"
Note that string interpolation is only available in VB 2015 or later.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…