I am having a string United States
and i need to use this like United%20States
.
For this i am using
urlencode("United States");
But, it is giving me the result as United+States
.
Please help me in getting me my output as United%20States
Thanks!