What is the best implementation for dividing a file name string into its folder, file name, and extension components. I haven’t found a package that takes a string and parses it. Am I missing something?
I’ve written a utility bot to do it by reversing the string and looking for the first period and first slash to accomplish what I want. However, it feels sloppy in what it does.
I’ve looked at calling out to javascript, but that doesn’t have all-in-one solution.
Also, any chance there will be a powershell package like there is javascript and vba?