일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 가변인자
- 로또
- Full text
- 전체
- 자바 야구게임
- while
- 자바
- angular2
- 업캐스팅
- 페이징
- Validations
- 상속예제
- 형변환
- 야구게임
- 전체텍스트
- Login with OAuth Authentication
- jquery
- 25가지 효율적인 sql작성법
- 다형성
- 상속
- 스프링
- IBatis procedure
- Random
- 다운캐스팅
- 전자정부
- 추상클래스
- 단축키
- full text indexing
- 이클립스
Archives
- Today
- Total
nalaolla
indexOf 본문
728x90
반응형
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Insert title here</title>
- <script type="text/javascript">
- window.onload = function() {
- var testValue = "This is the Cookbook's test string";
- var subsValue = "Cookbook";
- var iValue = testValue.indexOf(subsValue); // returns value of 12, index of substring
- if (iValue != -1)
- alert(iValue);
- }
- </script>
- </head>
- <body>
- </body>
- </html>
728x90
반응형
'javascript > fundamental' 카테고리의 다른 글
prompt (0) | 2016.01.07 |
---|---|
type (0) | 2016.01.07 |
onload (0) | 2016.01.07 |