Icon DecodeURLComponent

Unit: WebCore

Available In: Client and Server Applications

function DecodeURLComponent(const Component: String): String

The DecodeURLComponent function returns the decoded version of the encoded URL component input parameter. A URL component is any portion of a URL within a path delimiter (/), query delimiter (?), or parameter delimiter (&). The return value is a String value.

This function is the analog of the EncodeURLComponent function.

Examples

X := DecodeURLComponent('Jones%20%26%20Smith');  // X is 'Jones & Smith'
Image