home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
clipper
/
nettos11.zip
/
MISC
/
FNDPVE.PRG
< prev
next >
Wrap
Text File
|
1992-11-25
|
685b
|
32 lines
/*
* File......: FndPVE.Prg
* Author....: Sheldon Easterbrook
* CIS ID....: 71421,254
* Date......: $Date$
* Revision..: $Revision$
* Log File..: $LogFile$
*
* This is an original work by Sheldon Easterbrook and is placed in the
* Public Domain
*
* Modification History:
* ---------------------
*
* $Log$
*
*/
function _fndPVarE( cPathVar,nSrchOrdr )
Local nI := 1
Local cRetPath := ""
If ( Empty( cPathVar ))
Return( Nil )
EndIf
cRetPath = cPathVar
For nI = nSrchOrdr-1 to 1 Step -1
cRetPath = SubStr( cRetPath,( At( ";",cRetPath )+1 ))
Next nI
Return( cRetPath )