Remove special characters from string ? Unknown 3:39 AM No comments public override string ToString(){ string specialCharacters = "~!@#$%^&*<()+=`',.?>/\\\""; string[] stringAfterRemovingSpecialCharacters= displayText.Split(specialCharacters .ToCharArray()); return string.Concat(stringAfterRemovingSpecialCharacters);} Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment