Get File Name From Path

From Logic Wiki
Revision as of 14:27, 9 May 2016 by Dt1nh6 (Talk | contribs) (1 revision imported)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


   Public Shared Function GetFileNameFromPath(FilePath As String) As String
       Dim ff As String()
       ff = Split(FilePath, "\")
       Return (ff(ff.Length - 1))
   End Function