我的代码中使用了Trim命令,结果运行后并没有去掉指定的字符串,然后我试着把帮助文件中的代码拷贝到命令窗口中,运行后无输出。
Dim s As String = "1 ABC 1 "s = s.Trim(" ", "1")
何故?