Takes two parameters, Source, Search
Description:
This function will return the portion of Source up to and including the final occurrence of any individual character (byte) in Search. If Search is not found in Source, an empty string is returned.
Example:
[New] TestPath = "C:\Temp\TestPath\FileOne.txt"
[New] FolderPathWin = BeforeLast$ TestPath, "\" 'Returns C:\Temp\TestPath\
[New] FolderPathAny = BeforeLastAny$ TestPath, "/\" 'Returns C:\Temp\TestPath\