Hi
This maybe a simple question but not sure of the best way to do it.
I have a variable - for example say it contains "Mr John Smith"
I need to change this variable to = "Mr%20John%20Smith"
So basicially finding a space and replacing it with %20
Can anyone suggest the best way to do this ?
On Jan 11, 2019 05:01am, Developers@winserver.com wrote to ROBERT WOLFE:
Hi
This maybe a simple question but not sure of the best way to do it.
I have a variable - for example say it contains "Mr John Smith"
I need to change this variable to = "Mr%20John%20Smith"
So basicially finding a space and replacing it with %20
Can anyone suggest the best way to do this ?
Dave, I believe something like this might help you out for a starting point:
//
// Will search for a spaces in a string and replace it with %20/
// Coded by Robert Wolfe <robert.wolfe@winserver.org>
//
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,150 |
Nodes: | 15 (0 / 15) |
Uptime: | 26:07:27 |
Calls: | 230,024 |
Calls today: | 9 |
Files: | 59,445 |
D/L today: |
95 files (185M bytes) |
Messages: | 292,608 |
Posted today: | 6 |