The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



URLEncode


Unit: SDL_htmlsupport
Class: none
Declaration: function URLEncode (InString: string): string;

Percent-encoding, also known as URL encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances. More on URL encoding can be found in WikiPedia.

The function URLEncode replaces all characters in the string Instring which are not allowed in an URL by percent encoded replacements and returns it as function value.


Last Update: 2012-Oct-20