iphone - ASCII eqivalent of the symbol ampersand (&) in Obj C -


i sending emails iphone app calling web service , in email body need send url contains ampersand symbol (&). if use symbol in url web service not send email, if remove ampersand symbol works , webservice sends email fine. question is, should use ascii eqivalent of symbol ? , if so, ascii eqivalent '&'? can 1 me?

this url has ampersand symbol

http://xx.xxx.1.xx/xxx/aspxapprvcontrct.aspx?partyemail=xx@xxxx.com&devid= 1xx23 

thanks in advance.

you need escape whole string (email body) sending webservice. question has been asked before on so, see link included below. got link @caleb included, in , of not solve particular problem. recommend looking @ second answer posted @michael waterfall.

objective c html escape/unescape


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -