user80739
0
Q:

if string contain string ruby

# Ruby program to demonstrate  
# the include?  method  
       
# Taking a string and  
# using the method 
puts "Ruby".include? "by"                 
puts "String".include? "ui"
1

New to Communities?

Join the community