Why can't i define ditto mark " ?

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.

Also i can't define it in order to write into textbox:

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

For example

mystring = "something" is OK but mystring = """ NO.

How can i fix it?

Thanks.
 
C

Cor Ligthert[MVP]

Kimi

A single double quote is written as two double quotes inside double quotes
quotes. By instance """"

Cor
 
H

Hal Rosser

kimiraikkonen said:
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.

Also i can't define it in order to write into textbox:

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

For example

mystring = "something" is OK but mystring = """ NO.

How can i fix it?

Thanks.

Another way to assign a quote character is
myString = chr(34)
 

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