Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

if contains ruby

my_string = "abcdefg"
if my_string.include? "cde"
   puts "String includes 'cde'"
end
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ruby
ADD COMMENT
Topic
Name
4+4 =