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: | 483 |
Nodes: | 16 (2 / 14) |
Uptime: | 204:52:56 |
Calls: | 9,602 |
Calls today: | 3 |
Files: | 13,682 |
Messages: | 6,153,060 |