getPathPart ( Pathname ; Number )
Parses pathname for each part
Average rating: 4.6 (28 votes) Log in to vote
Roger Biel 2Geckos Consulting, LLC www.2geckos.com |
C:/Users/Roger/WebWizDirect/Knozall/MyTest.txt ; 2
C:/Users/Roger/WebWizDirect/Knozall/MyTest.txt ; 1
C:/Users/Roger/WebWizDirect/Knozall/MyTest.txt ; 99
WebWizDirect
MyTest.txt
txt
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Option number
0: Returns parent folder
1: Returns the target file or folder name
2-3-4-ect: Returns each part of the pathname
-1: returns Path only
99: returns file extenstion
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.