Search This Blog

Thứ Năm, 25 tháng 10, 2018

Thay thế chuổi trong ios

let updated = foo.replacingOccurrences(of: "\r\n|\n|\r", with: "", options: .regularExpression)

Không có nhận xét nào:

Đăng nhận xét