include1.5.1
include(substring) -> Boolean
检查字符串是否包含子串 substring
。
样例
'Prototype framework'.include('frame');
//-> true
'Prototype framework'.include('frameset');
//-> false
include(substring) -> Boolean
检查字符串是否包含子串 substring
。
'Prototype framework'.include('frame');
//-> true
'Prototype framework'.include('frameset');
//-> false