|
|
 |
 |
| MakeRelativeLinkFromURL |
| |
Convert an absolute URL to a relative one, if at all possible |
| |
| Library |
 |
wh::internet/http.whlib |
| |
| Syntax |
 |
PUBLIC STRING FUNCTION MakeRelativeLinkFromURL (STRING current_url,STRING convert_url) |
| |
| Parameters |
 |
| current_url |
 |
Current page URL |
 |
| convert_url |
 |
URL to try to convert to a relatve |
 |
|
| |
| Returns |
 |
Relative URL, if it was possible to make it. Otherwise, this function returns the original 'convert_url' |
| |
|
|
|
|