Case-insensitive Array#include?

后端 未结 6 1061
小蘑菇
小蘑菇 2020-12-13 12:35

I want to know what\'s the best way to make the String.include? methods ignore case. Currently I\'m doing the following. Any suggestions? Thanks!



        
6条回答
提交回复
热议问题