引用 using Microsoft.VisualBasic ,然后用 Strings.Replace 这样替换是不区分大小写的。 转载于:https://www.cnblogs.com/icejd/archive/2011/01/18/1938159.html