w3UrlEncoder sanitizes the characters in a URL.
The characters A-Z, a-z, 0-9 are untouched. A space is translated into a "+" all other characters are translated into a three-character string of "%xx" where xx is the hexadecimal representation of the characters ASCII values. At this time %FF truncates the output string.
call w3UrlEncoder (InStr , OutStr )
|
InStr |
In |
The string to translate. |
|
OutStr |
Out |
The string after the translation. |
Example Program