Topic Path: Symbol Reference > Functions > RemoveHeaderEntry Function
ContentsIndexHome
PreviousUpNext
RemoveHeaderEntry Function

Extracts a parameter argument and its value from a RFC-complaint message header.

File
function RemoveHeaderEntry(
    AHeader: string; 
    AEntry: string
): string;
Parameters 
Description 
AHeader 
RFC-compliant message header to be affected.
 
AEntry 
Parameter argument to locate and remove. 

string - Content of the message header after removing the named argument and its associated value.

RemoveHeaderEntry is a String function used to extract parameter arguments found RFC-complaint message headers. 

AHeader is the RFC-compliant message header to be affected by the operation. 

AEntry is the parameter argument to locate and remove from the message header. 

RemoveHeaderEntry performs a case-insensitive comparison to locate the header specified in AEntry within the header represented by AHeader. 

RemoveHeaderEntry will also remove any trailing ';' character that would remain as an artifact for the removed argument and value. 

RemoveHeaderEntry returns the content for the header after removing the named argument and its associated value. 

RemoveHeaderEntry is used when processing headers in mail and news message parts

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.