2
I would like to know how to declare a variable of type String in which the value has quotes in Visual Basic . net?
For example:
Public frase As String = "E ele disse: -"Olá a todos!""
Is there any escape expression for Visual Basic understand that the quotes in the variable value are part of the value, and are not finishing the variable declaration?
There is no
\"
in Visual Basic. See an example of the documentation– Isac