exclude?(string)
Instance Public methods
The inverse of String#include?
. Returns true if the string
does not include the other string.
"hello".exclude? "lo" # => false "hello".exclude? "ol" # => true "hello".exclude? ?h # => false
The inverse of String#include?
. Returns true if the string
does not include the other string.
"hello".exclude? "lo" # => false "hello".exclude? "ol" # => true "hello".exclude? ?h # => false
Please login to continue.