Problem with Ampersand char in the URL

Discussion in 'iOS Programming' started by oceandrive, Apr 1, 2009.

  1. macrumors newbie

    Nov 17, 2008
    how do we pass a string Mr.X & Mr.Y in the URL.

    I have tried this but this one does all the chars but ampersand.

    [urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]

    Thanks for the help.
  2. macrumors newbie

    Mar 30, 2009

Share This Page