IncludeHTTPPathDelimiter function
Ensures a URL path ends with a forward slash.
Declaration
function IncludeHTTPPathDelimiter(const AStr: string): stringArguments
AStr | The path string to process. |
Function result
The path string with trailing slash.
Description
Adds a trailing forward slash to a path string if it doesn't already have one. Useful for normalizing directory paths in URLs.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
