replaceing spaces with ”%20” in a parameter
I am working on a script that has an address for an input. The address is setup as a parameter coming from a data file. Part of the request that is sent replaces all of the spaces in the address with %20. I’ve tried a few ways to do it but either it does not work or I get an memory access violation while looping through an array.
To give an example, if the address is : 101 W Main Street
The response would contain: 101%20W%20Main%20Street
… so I would need another address parameter with that format.
Parts of the script need the address as it appears in the parameter itself and other parts need the spaces removed. I will need to loop through several address when I run the script in a scenario.
I am using Vugen 9.52.
Thanks for the help,
Marked as spam
Please log in to participate..