![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
ExtractFileName ?
Dot © (2005-08-26 02:28:00)Приветсвую мастеров.
в sysutils есть функция ExtractFileName.
никак не могу понять зачем она нужна, кто сможет объяснить?
Дело в том что мня вводи в заблуждение
ExtractFileName('calc.exe') выводит calc.exe
т.е. в нее передается параметр FileName и она выводит filename... и? зачем она тогда нужна то?
dot (2005-08-26 02:37:00) [1]Большое спасибо, понял
Zeqfreed (2005-08-26 02:32:00) [2]Dot (26.08.05 2:28)
Description
The resulting string is the rightmost characters of FileName, starting with the first character after the colon or backslash that separates the path information from the name and extension. The resulting string is equal to FileName if FileName contains no drive and directory parts.
з.ы. Попробуй ввести 'D:\filepath\filename.exe'