Internet Direct (Indy) Version 9.0.2 Beta
IncludeTrailingSlash
Builds a path string that includes a trailing path delimiter.

function IncludeTrailingSlash(const APath: string): string;
Parameters
const APath: string
The initial path string.

Returns
String - Path including the trailing path delimiter.

Description
IncludeTrailingSlash is a String function used to construct a path from the value in APath that includes a trailing path delimiter. IncludeTrailingSlash encapsulates the platform-specific procedures or functions used to build a path string using the platform-specific path delimiter character.

IncludeTrailingSlash is a convenience function provided for Delphi or C++ Builder products using a VCL version prior to VCL 5. IncludeTrailingSlash calls IncludeTrailingBackSlash for VCL version 5, or IncludeTrailingPathDelimiter for VCL version 6 or above.