remove_filepath
- Синтаксис
-
stock remove_filepath(const szFilePath[], szFile[], pMax) { new len = strlen(szFilePath); while ((--len >= 0) && (szFilePath[len] != '/') && (szFilePath[len] != '\')) { } copy(szFile, pMax, szFilePath[len + 1]); return; }
Переменная | Описание |
---|---|
szFilePath |
String to perform search and replacements on. |
szFile |
Buffer to store file name. |
pMax |
Maximum length of the string buffer. |
- Описание
- Removes a path from szFilePath leaving the name of the file in szFile for a pMax length.
- Возвращает
- Функция ничего не возвращает