Table of Contents

TTMSFNCUtils.URLDecode Method

Decodes a percent-encoded URL string back to a plain string.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function URLDecode(const AURL: string; const ATrim: Boolean = True): string;

Parameters

Name Description
AURL URL-encoded string to decode.
ATrim When True, leading and trailing whitespace is removed from the result. Defaults to True.

Returns

The decoded string.