JCL Help:PathRemoveSeparator

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Removes a trailing directory separator from a path.


Pascal

 function PathRemoveSeparator(const Path: string): string;


Parameters

Parameters Description
const Path: string The path from which to remove the trailing directory separator.


Return Value

The Path without a trailing directory separator.


Description

PathRemoveSeparator removes the trailing directory separator from the path. If there is no trailing directory separator the function does nothing.


See Also

PathAddSeparator


About

Unit

JclFileUtils


Donator

Marcel van Brakel


Notes

The function only removes one trailing directory separator.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page