Indy 9 | Content | Index | Reference

IncludeTrailingSlash
Unit: IdGlobal
Builds a path string that includes a trailing path delimiter.

    function IncludeTrailingSlash(const APath: string): string;

Unit
IdGlobal
Parameters
const APath: string
The initial path string.
Return Value
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.