代码:
System.Windows.Forms.MessageBox.Show("abc".Equals("ABC", StringComparison.InvariantCultureIgnoreCase));
//超级长,是不是,
//参数StringComparsion:字符串比较,compare的名词形式
//不因文化特性而异 (Invariant Culture) 是用于字串转换。



java中:


abc.equalsIgoreCase("ABC");

相关文章:

  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
  • 2021-10-01
  • 2022-12-23
  • 2021-05-16
相关资源
相似解决方案