str/include

检测主字符串中是否包含子字符串。(注:ES6中已经实现了includes方法)
Source:
Example
str.include('foobar', 'bar')   // true
str.include('foobar', 'buzz')  // false

str.include(12345, 34)         // true
Parameters:
Name Type Description
str String 主字符串
subStr String 子字符串
Returns:
true,表示包含;false,,表示不包含
Type
Boolean