GonsiOS
Swift 문자열에 특정 문자를 바꾸는 방법입니다. let str = "Gons!" let str2 = str.replacingOccurrences(of: "!", with: "♥︎") print(str2) 느낌표 ! 를 하트 ♥︎ 로 변경하는 코드입니다.