0

I have a string that looks like : TestA==A;TestB==B and I would like to format it so that it looks like : TestA%3D%3DA%3BTestB%3D%3DB Thank you !

Kaki
  • 33
  • 6
  • Show us what you have done so far. – El Tomato Mar 29 '16 at 09:07
  • I thought that something like theNewString = [theString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; could do the job, but no :( – Kaki Mar 29 '16 at 09:09
  • `[@"TestA==A;TestB==B" stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet alphanumericCharacterSet]]`? – Larme Mar 29 '16 at 09:13

0 Answers0