Hi,
Can anyone tell me how to add "" in a string variablein VB.net. for eg if have one string "House". The string itself contains ", how do i declare it? i have tried

Dim str as string
str=""House""

Thanks in advance

Try this:

Dim str As String
str = """House"""
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.