473,434 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

How to append the String with quotes like"

Hi All

How to append the string with Quotes

I want to show Output like this = "test"

I want to show the word like this "test"

Help me out

Thank you

Venu
Nov 19 '05 #1
3 1126
In VB.NET: """test""" (escape a double quote with two consequtive dbl
quotes)

In C#: @"""test""" OR "\"test\""

"karunakar" <ka***********@stcroixsystems.com> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl...
Hi All

How to append the string with Quotes

I want to show Output like this = "test"

I want to show the word like this "test"

Help me out

Thank you

Venu

Nov 19 '05 #2
\"test\"

Eliyahu

"karunakar" <ka***********@stcroixsystems.com> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl...
Hi All

How to append the string with Quotes

I want to show Output like this = "test"

I want to show the word like this "test"

Help me out

Thank you

Venu

Nov 19 '05 #3
WJ
The less confuse way is to define a const that contains the double quote,
then concatenate the const with other strings.

Example:
private const string dq=@"""";
Label1.Text=dq+Test+dq;

John
"karunakar" <ka***********@stcroixsystems.com> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl...
Hi All

How to append the string with Quotes

I want to show Output like this = "test"

I want to show the word like this "test"

Help me out

Thank you

Venu

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Ron | last post by:
Hello, I'm having an aggravating time getting the "html" spewed by Word 2003 to display correctly in a webpage. The situation here is that the people creating the documents only know Word, and...
0
by: Dana | last post by:
I am using the XMLTextWriter to build an XML string and pass it to the XMLDocument. When I get the data from SQL Server, some of the values passed to the XML are NULL in the database. When I try...
1
by: shrinivaskv | last post by:
How to insert a string with double quotes into db tables ? example : i want to insert a string -- gloablworld "a" within " " into db table using c++.
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.