Data.Cloud.CloudAPI.URLEncode

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Unit: Data.Cloud.CloudAPI
Parent: Data.Cloud.CloudAPI

Delphi

function URLEncode(const Str: string): string;
function URLEncode(const Str: string; const EncodeChars: array of Char): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall URLEncode(const System::UnicodeString Str)/* overload */;

Description

URL-encodes the specified string.

The optional parameter EncodeChars allows you to specify non-standard characters to be encoded with their hex value.

See Also