์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- Codable
- CRUD
- ExpressJS
- AVAudioPlayer
- nodejs
- ํ๋ก๊ทธ๋๋จธ์ค
- Cloud Firestore
- Core Data
- ์๊ณ ๋ฆฌ์ฆ
- RxSwift
- Firestore CRUD
- Firestore
- Filter
- components
- MongoDB
- SWiFT
- Encodable
- Mac
- UIRefreshController
- ์ง๋ฒ๋ณํ
- Figma
- ์ฑ๋์์ธ
- Decodable
- DispatchQueue
- Reduce
- mongoose
- map
- ์ฑ๋ง๋ค๊ธฐ
- String.Index
- ios
Archives
- Today
- Total
๋ชฉ๋กtrimmingCharacters (1)
Focus On Develop ๐ค๐ค
[Swift] String.components
์์ธ ๋ด์ฉ : components | Apple Document ์ด๊ฑธ ์ ์ด์ ์์์ง..?? ใ ใ ๊ทธ๋์ ๊ณต๋ถ ๋๋ฌด ์ํ๊ฑฐ ๋ค ํฐ๋ ๋ฒ๋ ธ์ฅฌ ~~~ ๐ ๐ ๋ฌธ์์ด์ ํน์ String ๊ธฐ์ค์ผ๋ก ๋๋ ์ NSArray ํ์ ์ผ๋ก ๋ง๋ค์ด์ฃผ๋ ๋ฉ์๋ ๋ผ๊ณ ํ๋ค. ์ญ์ ์ดํดํ๋๋ฐ๋ ์์ ๋ณด๋ฉด์ ๊ณต๋ถํ๋๊ฒ ์ ์ผ ๋น ๋ฅด๊ฒ ์ฃ ~~~!? let string = "hello? my name@ is kt!!" print(string.components(separatedBy: "na")) // ["hello? my ", "me@ is kt!!"] print(string.components(separatedBy: "!")) // ["hello? my name@ is kt", "", ""] print(string.components(se..
iOS [Swift]/๊ธฐ์ด๋ฅผ ํํํ!
2020. 12. 18. 14:40