System.Net.URLClient.TURI.URLEncode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function URLEncode(const AValue: string; SpacesAsPlus: Boolean = False): string; static;

C++

static System::UnicodeString __fastcall URLEncode(const System::UnicodeString AValue, bool SpacesAsPlus = false);

Properties

Type Visibility Source Unit Parent
function public
System.Net.URLClient.pas
System.Net.URLClient.hpp
System.Net.URLClient TURI

Description

Performs an URL percent encoding.

URLEncode performs an URL percent encoding of the String AValue.

If SpacesAsPlus is True white spaces are converted to + instead of %20.

See Also