RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStrings.ExcludeTrailingPathDelimiter Function

Path without path delimiter at end.

Pascal
function ExcludeTrailingPathDelimiter(const S: AnsiString): AnsiString; overload;
C++
AnsiString ExcludeTrailingPathDelimiter(const AnsiString S);

ExcludeTrailingPathDelimiter returns the path without a path delimiter ('\' or '/') at the end. This function is MBCS (Multi-Byte Character String) enabled. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!