Is there a case insensitive string replace in .Net without using Regex?

前端 未结 9 1627
天涯浪人
天涯浪人 2020-12-11 00:45

I recently had to perform some string replacements in .net and found myself developing a regular expression replacement function for this purpose. After getting it to work I

9条回答
  •  独厮守ぢ
    2020-12-11 01:17

    It's not ideal, but you can import Microsoft.VisualBasic and use Strings.Replace to do this. Otherwise I think it's case of rolling your own or stick with Regular Expressions.

提交回复
热议问题