Application.EncodeURL Method

SharePoint Designer Developer Reference

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

Syntax

expression.EncodeURL(bstrDecodedURL)

expression   Required. A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
bstrDecodedURL Required String The Web address to encode.

Return Value
String

Remarks

Encoding a URL includes replacing each space with "%20". Use the DecodeURL method to decode a Web address.

See Also