ruby find word in string with any code example
Example: if contains ruby
my_string = "abcdefg"
if my_string.include? "cde"
puts "String includes 'cde'"
end
my_string = "abcdefg"
if my_string.include? "cde"
puts "String includes 'cde'"
end