GetFileName-func
Get the file name (with or without the extension) from the full path.
string GetFileName( string strFile$, bool bRemoveExt )$
strFile
bRemoveExt
Return the file name without extension if bRemoveExt = 1, else with file extension.
strpath$="%Yorigin.ini"; fname$ = GetFileName(strpath$)$