SyntaxFix
Write A Post
Hire A Developer
Questions
Swift 4.2
let data = yourString.data(using: .utf8, allowLossyConversion: true)