| ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > TextProcessing Class : UrlEncode Method |
Type: System.String
The source string.
public static string UrlEncode( string sourceString )
Type: System.String
The source string.
Type: System.String
A encoded string.
var result = Macros.TextProcessing.UrlEncode("текст"); return result; // result = "d182d0b5d0bad181d182"
$result = Macros::TextProcessing::UrlEncode("текст"); return $result; // result = "d182d0b5d0bad181d182"
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.