This is a very basic problem, but i am not able to solve it.
But if I have want a string like the one shown below, how can I achieve
this ? (Note the single quotes in 'abc')
Basically, I have a module which creates a string like the msgStr. And
I am passing a string. In this case, I will be passing "An exception
But finally, the string becomes as shown in the above line, and gives
I tried using 2 single quotes too, but its not working.
heh, don't you love these problems:
string test = "alert('this is a message \\'test\\' from my script')";
you need to escape the escape character ;)
|All times are GMT. The time now is 03:25 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.