I want to remove a comma separated value from the string..
suppose I have a string like this
string x=\"r, v, l, m\"
and i want to
Something like this?
string input = "r,v,l,m"; string output = String.Join(",", input.Split(',').Where(YourLogic)); bool YourLogic(string x) { return true; }