Problem with Ampersand char in the URL

Discussion in 'iPhone/iPad Programming' started by oceandrive, Apr 1, 2009.

  1. macrumors newbie

    Joined:
    Nov 17, 2008
    #1
    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

    Joined:
    Mar 30, 2009
    #2

Share This Page