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: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 410 |
Nodes: | 16 (2 / 14) |
Uptime: | 78:12:18 |
Calls: | 8,578 |
Calls today: | 2 |
Files: | 13,225 |
Messages: | 5,932,063 |