Why isn't quotation Mark between quotation Mark(String defining) possible?

K

kimiraikkonen

I'm using VB.NET 05 express and i have to declare a simple string
like:

Dim mystring As String
mystring = " " "


But that doesn't work.



In order to define ditto mark, strings are entered between quotation
mark
of VB.NET enviroment:


For example


mystring = "something" is OK but mystring = " " " doesn't work


How can i fix it? How can i define a quotation mark as string?


Thanks.
 
J

Jack Jackson

I'm using VB.NET 05 express and i have to declare a simple string
like:

Dim mystring As String
mystring = " " "


But that doesn't work.



In order to define ditto mark, strings are entered between quotation
mark
of VB.NET enviroment:


For example


mystring = "something" is OK but mystring = " " " doesn't work


How can i fix it? How can i define a quotation mark as string?


Thanks.

Double any quotes within the string:

mystring = "something "" else"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top