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