Convert Method
Applies to: SharePoint Foundation 2010
Supports conversion between URL-encoded and UNICODE-encoded URLs.
Convert (InputString, InputType, OutputType)
Parameters
Parameter |
Description |
---|---|
InputString |
The string to be converted. |
InputType |
The type of input string. Valid values are URL or UNICODE. |
OutputType |
The type of output string. Valid values are URL or UNICODE. |
Remarks
This method provides a way to decode UNICODE URLs into URLs or convert URLs to UNICODE URLs.
Example 1: Microsoft Visual Basic Scripting Edition
Code
WPSC.Convert "http://my%20data.xml", "URL", "UNICODE"
Example 2: Microsoft JScript
Code
WPSC.Convert("http://my%20data.xml", "URL", "UNICODE");
Requirements
Applies to: WPSC Object