I have a string say
\"Hello! world!\"
I want to do a trim or a remove to take out the ! off world but not off Hello.
string s1 = "Hello! world!"; string s2 = s1.Trim('!');