StatCounter

View My Stats

Saturday, February 14, 2009

How to add double quotes to a string that is inside a variable?

How to add double quotes to a string that is inside a variable?

We can use double quotes on the string.Example :


Declaration:
__________
string a="double quotes Example";

string b= "\""+a+"\"";


The out put is like this:
_________________
a= double quotes Example;

b= " double quotes Example";

No comments: