Skip to main content
Inspiring
May 12, 2008
Question

Finding and eliminating strings

  • May 12, 2008
  • 1 reply
  • 223 views
I have a variable that returns something like this : c:\folder\subfolder\subfolder-1\file_name

How would I eliminated everything up to the last "\" so that I only get the file_name ?
    This topic has been closed for replies.

    1 reply

    Inspiring
    May 12, 2008
    trojnfn wrote:
    > I have a variable that returns something like this : c:\folder\subfolder\subfolder-1\file_name
    >
    > How would I eliminated everything up to the last "\" so that I only get the file_name ?


    Old Way... ListLast(path,'\')

    New Way... getFileFromPath(path)

    Fun gems found in the documentation.