티스토리 뷰
String.indexOf(찾을문자) != -1
------------------------
http://www.w3schools.com/jsref/jsref_search.asp
var str="Visit W3Schools!";
document.write(str.search("W3SCHOOLS"));
결과: -1
var str="Visit W3Schools!";
document.write(str.search(/w3schools/i));
결과: 6
'웹프로그래밍 > js' 카테고리의 다른 글
jQuery 페이징 플러그인 zPaging 모냥빠지는 문제 수정 (0) | 2010.07.09 |
---|---|
http, https 혼용 Ajax 레이어팝업 로그인과 처리 (1) | 2010.05.13 |
[jQuery] load 한글깨짐 없게 (0) | 2010.03.20 |
JSON Parse~parsing (1) | 2010.01.28 |
[jQuery] DateTime Picker (0) | 2010.01.23 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 안드로이드
- centos
- JQuery
- nginx
- 한글
- 워드프레스
- CSS
- laravel
- macos
- API
- Linux
- iphone
- Mac
- git
- JSON
- PHP
- javascript
- sencha touch
- classic asp
- nodejs
- mssql
- IE
- Debug
- Docker
- Prototype
- iis
- Android
- ASP
- Wordpress
- IOS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함