[SWIFT] String to [String] 변환

힐링힐링·2023년 10월 16일
0

SWIFT 문법

목록 보기
15/26

예시

my_string = "abcd"
my_string.map{String($0)}

결과

[a,b,c,d]
profile
블로그 이전합니다 https://james-kim-tech.tistory.com/

0개의 댓글