I have this String -
&to[]=0532332028&to[]=0532332027
I want to convert this String to (UTF8) -
%26to%5B%5D%3D0532332028%26to%5B%5D%3D0532332027
I already try this Code -
let str = String(UTF8String: "&to[]=0532332028&to[]=0532332027".cStringUsingEncoding(NSUTF8StringEncoding)!)
Thanks