Snippets has posted 5883 posts at DZone. View Full User Profile
Trim with array.
string arrString = new string
"Are you there?",
"Yes, I am here......"
foreach (string eachString in arrString)
string st = eachString.TrimEnd('.', '?');
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...