Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_InteractInteraction

Public Function FilenameGet (
Path As Variant,
Optional TrimExtension As Boolean = False
) As String

Return the filename only given the full file path

Path as Variant

The full file path

Optional TrimExtension as Boolean = False

Trim the extension from the returned filename

Call Template:

Dim s As String
s = xf.Interact.FilenameGet(Path)
s = xf.Interact.FilenameGet(Path, TrimExtension)

See Also:

Example 1:

Filename = FilenameGet("C:\Temp\TempFile.txt", True)    ==> TempFile
Filename = FilenameGet("C:\Temp\TempFile.txt", False)   ==> TempFile.txt
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd