Sam Kaplan wrote:
Is there a way to make include? case insensitive?
You can also use the downcase() function :
"Hello World".downcase.include?("hello") => true
Sam Kaplan wrote:
Is there a way to make include? case insensitive?
You can also use the downcase() function :
"Hello World".downcase.include?("hello") => true