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,047 |
Nodes: | 15 (1 / 14) |
Uptime: | 50:22:57 |
Calls: | 236,044 |
Calls today: | 3 |
Files: | 60,363 |
D/L today: |
8,083 files (1,090M bytes) |
Messages: | 289,418 |
Posted today: | 1 |