ExcludeHTTPPathDelimiter function
Removes trailing forward slash from a URL path.
Declaration
function ExcludeHTTPPathDelimiter(const AStr: string): stringArguments
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
