How do you get the current folder name for a given page?
Currently I do this:
---------------------------------------------------
<CFSET FullPathNoFile = GetDirectoryFromPath(ExpandPath("*.*"
)>
<CFSet CurrentFolderNameOnly = LCase(ListLast(FullPathNoFile,"\"
)>
---------------------------------------------------
Is there a faster or better way?
Thanks,
David
Currently I do this:
---------------------------------------------------
<CFSET FullPathNoFile = GetDirectoryFromPath(ExpandPath("*.*"
<CFSet CurrentFolderNameOnly = LCase(ListLast(FullPathNoFile,"\"
---------------------------------------------------
Is there a faster or better way?
Thanks,
David