Mega Code Archive
Categories
/
Ruby
/
String
Does a string include another string
string = 'My first string' # => "My first string" string.include? 'MY' # => true