public void Trim_Co() { var s = "Co."; var s2 = s.TrimEndNotIn(LexicalCharacterSet.AsciiAlphaNumeric.Characters); Assert.AreEqual("Co", s2); }