instance method String#include
String#include(substring) → Boolean
Checks if the string contains substring
.
Example
'Prototype framework'.include('frame'); //-> true 'Prototype framework'.include('frameset'); //-> false
String#include(substring) → Boolean
Checks if the string contains substring
.
'Prototype framework'.include('frame'); //-> true 'Prototype framework'.include('frameset'); //-> false