Page History
...
Code Block |
---|
Path = "C:\path1\path2\path3\filename.txt"
Result1 = SRP_Path("GetDirectory", Path)
Result2 = SRP_Path("GetDirectory", Result1)
Result3 = SRP_Path("GetDirectory", SRP_Path("RemoveBackslash", Result2)) |
Result1 and Result2 will both be "C:\path1\path2\path3\". Result3 will be "C:\path1\path2\".
See Also
GetComponents, GetExtension, GetFilename, GetParameters, GetPath, RemoveDirectory