Если содержит Руби
my_string = "abcdefg"
if my_string.include? "cde"
puts "String includes 'cde'"
end
Clear Crane
my_string = "abcdefg"
if my_string.include? "cde"
puts "String includes 'cde'"
end