How do add one double quotation mark (") into a string in VB.NET?

Currently I have

codeString &= "matrixDictionary(" & Chr(34) & UCase(Mid(currentPhrase, currentPhrase.Count, 1)) & Chr(34) & " )"

To codeString I want this to add

matrixdictionary("A")

However, currently, it's adding

matrixdictionary(""A"")

How do I add a " to a string on it's own? I've tried looking it up, but every other method suggested doesn't see to work, or isn't relevant.



Read more here: https://stackoverflow.com/questions/64949765/how-do-add-one-double-quotation-mark-into-a-string-in-vb-net

Content Attribution

This content was originally published by Daniel May at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: