.Net Logics
Pages
Home
About Us
Monday, 7 January 2013
Turning a single quote into an escaped single quote within a string
string s
=
"John's book.";
s = s
.
Replace
(
"'"
,
@"\'"
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment