I need a help ....I am trying to send the string like <ABCs>
to the server but its showing error due to <>
can any one tell me how do i send this string to server ASCII value for <>
and my ABCs
string as well ??? so the my final string is <ABCs>
Asked
Active
Viewed 201 times
-2

Manos Nikolaidis
- 21,608
- 12
- 74
- 82

Kuldeepsingh Rajput
- 23
- 1
- 7
-
i want to send final string
– Kuldeepsingh Rajput Oct 13 '15 at 10:39 -
You need to edit the actual post and clean it up – JoeG Oct 13 '15 at 11:17
1 Answers
0
If you are sure that problem is in "<>" characters, then you should encode string on one side, and then decode it on another.
See answers in here "How do I URL encode a string" to learn how to urlencode string in iOS.
If you will have this problem anyway, please show the way you are communicating with server.

Community
- 1
- 1

Yuriy Yakym
- 3,616
- 17
- 30
-
Hi Thanks for your response your way is also good but i did simple using "stringByReplacingOccurrencesOfString" i replace the string .........and it worked .... – Kuldeepsingh Rajput Oct 15 '15 at 10:59