특정 문자 제거하기
components 메서드를 활용해서 특정 문자를 제거 해준 다음 joined 메서드를 활용해 String을 합쳐준다.
import Foundation func solution(_ my_string:String, _ letter:String) -> String { my_string.components(separatedBy: letter).joined() }