DecodeURL Method

Microsoft FrontPage Visual Basic

DecodeURL Method

Returns a String that represents a decoded Web address for the specified encoded Web address.

expression.DecodeURL(bstrEncodedURL)

expression    Required. An expression that returns an Application object.

bstrEncodedURL    Required String. The encoded Web address to decode.

Remarks

Decoding a URL includes replacing "%20" with spaces. Use the EncodeURL method to encode a Web address.

Example

The following example decodes the specified Web address.

    Dim strDecodedURL As String

strDecodedURL = Application.DecodeURL _
    ("http://www.fourthcoffee.com/our%20best%20coffee.htm")