You are here: C++ Support Classes > dtSearch Namespace > Classes > DFilename Class > DFilename::simplify Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DFilename::simplify Method
Syntax
C++
void simplify(bool bPreserveTrailingSlash = false);

Remove redundant path elements (example, "/tmp/subfolder/../otherfolder/sample.doc would become "/tmp/otherfolder/sample.doc