Dim s As String = "|A|B|C|D|"s.Trim("|")MessageBox.show(s)
问题:执行Trim方法后,前后指定字符串并没有删除!
同样问题:TrimStart、TrimEnd 都不起作用!