Stock New Code
Public code
文字列を含む処理
0
0
Screenshot!
Copy Code!
if ( str.match(/hoge/)) //strにhogeを含む場合の処理 if ( str.indexOf('hoge') != -1) //strにhogeを含む場合の処理
#javascript
Creater Page
Back to Home
閉じる