Archive: get file from a path


get file from a path
hy.
I wold to extract the string filename from the path of a dirrequest dialog .
I see the string Manipulation funtion but i'm not find the indexof or find(c++ or c# function that return -1 if the occurrence string not found and a int if the string is found)
how i manipulate the string occurrence?
thanks


Have a look at the WordFunc.nsh header.
You can use the FileOpen, FileRead and FileClose functions to read from a plain text file.

Stu


no,sorry I have the string path and i would to select the file name string without the path.
The string , not the file.
thanks


but there aren't function for string manipolation?
thanks


As Afrow said, there are functions in WordFunc.nsh such as WordReplace. But what you need is GetFileName.