일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- php
- system
- MacOS
- Java
- mysql
- Algorithm
- function
- web
- for
- DATAPATH
- control
- DoM
- architecture
- html
- Linux
- DB
- while
- instruction
- github
- Pipelining
- python
- DS
- computer
- CSS
- react
- javascript
- XML
- MIPS
- Class
- data structure
- Today
- Total
목록FIND (2)
YYYEJI
↓↓↓ DOM 개념 알아보기 ↓↓↓ https://yyyeji.tistory.com/160 [JavaScript] DOM이란? DOM 이란? Document object Model의 줄임말로써, XML 문서의 메모리 내 표현이고 DOM을 사용하여 XML 문서를 프로그래밍 방식으로 element를 생성, 조회, 갱신, 삭제할 수 있습니다. XML NODE ① Document node.. yyyeji.tistory.com id를 통해 element를 찾는 예제를 살펴보겠습니다. Finding HTML Element by Id This is example for finding HTML Element by Id 다음으로 코드 한 줄씩 살펴보겠습니다. Finding HTML Element by Id ✓ h2 크기..
find - 특정 문자의 Index를 반환해 줍니다. startswith - parameter로 받은 문자가 시작문자열이면 True 아니면 False를 반환해 줍니다. endswith - parameter로 받은 문자가 끝나는 문자열이면 True 아니면 False를 반환해 줍니다. Find 함수 abc = "ABCDEFG" print(abc.find("A")) print(abc.find("D")) print(abc.find("G")) Startswith 함수 abc = ["Aa", "Bb", "Cc", "Dd"] for alpha in abc: print(alpha.startswith("B")) abc = ["Aa", "Bb", "Cc", "Dd"] for alpha in abc: if alpha.st..