Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- alamofire
- Autolayout
- prefix()
- IOS
- 싱글톤
- 알고리즘
- uisearchbar
- GIT
- tableView
- swift
- 코딩테스트
- 프로그래머스
- Segue
- joined()
- github
- Info.plist
- xib
- 라이징캠프
- MVC
- components()
- String()
- zip()
- 코드업 파이썬 기초 100제
- uikit
- API
- 클론코딩
- suffix()
- 대문자소문자
- replacesubrange()
- reduce()
Archives
- Today
- Total
Daeng iOS
[Swift] String(repeating: count:)에 대해 .. 본문
String(repeating: count:)
주어진 문자열을 정해진 숫자 만큼 반복하여 새로운 문자열을 생성한다
[ Parameters ] repeatedValue : 반복할 문자열 count : 위 인자 (repeatedValue) 를 반복할 횟수 |
아주 간단하게 활용도가 높은 String 생성자를 정리해봤다 !
'IOS > Swift' 카테고리의 다른 글
[Swift] joined(separator:)에 대해.. (0) | 2024.05.09 |
---|---|
[Swift] 대소문자 변환 (0) | 2024.05.08 |
[Swift] components()와 split()에 대해.. (0) | 2024.05.07 |
[Swift] 고차함수 map(_:)에 대해.. (0) | 2024.05.07 |
[Swift] readLine(strippingNewline:)에 대해 (0) | 2024.05.06 |