JavaScript indexOf to ignore Case

前端 未结 0 988
没有蜡笔的小新
没有蜡笔的小新 2021-02-12 06:14

I am trying to find if an image has in its source name noPic which can be in upper or lower case.

var noPic = largeSrc.indexOf(\"nopic\");


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题