Unit 'httpprotocol' Package
[Overview][Constants][Types][Procedures and functions][Index] [#fcl]

HTTPDecode

Decodes HTTP URL-encoded strings.

Declaration

Source position: httpprotocol.pp line 132

function HTTPDecode(

  const AStr: string

):string;

Arguments

AStr

  

The URL-encoded string to decode.

Function result

The decoded string.

Description

Decodes percent-encoded characters (%XX) and optionally converts plus signs to spaces. The overloaded version without aPlusAsSpaces defaults to treating plus signs as spaces.

See also

HTTPEncode

  

Encodes strings for HTTP URL transmission.


Documentation generated on: Aug 28 2026 Report a problem on this page