일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Prisma
- MySQL
- map
- HTTP
- 이분 탐색
- router
- 자바스크립트
- trie
- Express.js
- 그리디
- ccw 알고리즘
- JavaScript
- DP
- 게임 서버 아키텍처
- ERD
- Next
- localstorage
- html5
- MongoDB
- 그래프 탐색
- branch
- Keys
- Github
- 트라이
- string
- vector insert
- PROJECT
- insomnia
- 백준 1918번
- pm2
Archives
- Today
- Total
목록object (1)
dh_0e

1. String string.length = 문자열 길이 string.substr(a, b) = a부터 b개의 문자를 불러옴 string.slice(a, b) = a부터 b-1까지의 문자를 불러옴 string.search("word") = string에 word가 시작되는 위치를 불러옴 string.replace("word", "word2") = string에 word를 word2로 바꿔줌let string = "hello";console.log(string.length); // 5console.log(string.substr(1, 3)); // ellconsole.log(string.slice(2, 4)); // llconsole.log(string.search("e")); // 1console.lo..
내일배움캠프/HTML,CSS,JavaScript
2024. 4. 22. 21:04