ZennoLab Assemblies Documentation
UrlEncode Method
Example 

Type: System.String

The source string.

Encodes the string to UrlEncode.
Syntax
public static string UrlEncode( 
   string sourceString
)

Parameters

sourceString

Type: System.String

The source string.

Return Value

Type: System.String

A encoded string.

Example
The following example shows call the UrlEncode method.
var result = Macros.TextProcessing.UrlEncode("текст");
return result;
 
// result = "d182d0b5d0bad181d182"
$result = Macros::TextProcessing::UrlEncode("текст");
return $result;
 
// result = "d182d0b5d0bad181d182"
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

TextProcessing Class
TextProcessing Members
UrlDecode Method

Send Feedback