ExtractFileName
It extracts a filename from a filepath.
AI
ИИ-обзор: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Исходный код
Public Function ExtractFileName(ByVal strPath As String) As String ' StrReverse is only working in VB6 strPath = StrReverse(strPath) strPath = Left(strPath, InStr(strPath, "\") - 1) ExtractFileName = StrReverse(strPath) End Function
Оригинальные комментарии (3)
Восстановлено из Wayback Machine