Skip to main content
Table of Contents

TTMSFNCUtils.URLEncode Method

Encodes a plain string into a percent-encoded URL-safe string.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function URLEncode(const AURL: string): string;
__classmethod System::UnicodeString __fastcall URLEncode(const System::UnicodeString AURL);

Parameters

Name Description
AURL String to encode.

Returns

The percent-encoded string.