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

ExcludeHTTPPathDelimiter

Removes trailing forward slash from a URL path.

Declaration

Source position: httpprotocol.pp line 162

function ExcludeHTTPPathDelimiter(

  const AStr: string

):string;

Arguments

AStr

  

The path string to process.

Function result

The path string without trailing slash.

Description

Removes the trailing forward slash from a path string if present. Useful for normalizing file paths in URLs.

See also

IncludeHTTPPathDelimiter

  

Ensures a URL path ends with a forward slash.


Documentation generated on: Dec 15 2025