Re: Extract filename from path



"Drew" <drew.myers@xxxxxxxx> wrote in message
news:%23b%235AqV6FHA.1720@xxxxxxxxxxxxxxxxxxxx
> Is there a simple VB way of extracting the filename from a full path
> string?

how about

sFile=mid$(sPath,InstrRev(sPath,"\")+1)

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

.



Relevant Pages


Loading