FrontEnd/Web
[javascript] 문자열 검색 .search
김중앙
2015. 8. 14. 10:17
var jk = "apple";
jk.search("ap"); 일치하면 위치 리턴 그렇지 않다면 -1 리턴 |