Thursday, April 12, 2012

Replacing backslash in a string

 

 

 

 string userName = "Smith \"Fake Lastname \"";
            userName = userName.Replace("\"", "");

No comments:

Post a Comment