fnsplitl


(fnsplitl  pathname)

This function returns the file or folder name pathname splitted into components as listof strings (path, name, extension).

Arguments

pathname  string, any file or folder name to splitted

Return

list of strings (path name extension)

Example

(fnsplitl "C:\\MyAppFolder\\BootStrap.lsp")
("C:\\MyAppFolder\\" "BootStrap" ".lsp")

(fnsplitl "/MyAppFolder/BootStrap.lsp")
("/MyAppFolder/" "BootStrap" ".lsp")

(fnsplitl "MyAppFolder\\BootStrap.lsp")
("MyAppFolder\\" "BootStrap" ".lsp")

(fnsplitl "\\MyAppFolder\\BootStrap.lsp")
("\\MyAppFolder\\" "BootStrap" ".lsp")

Remarks

the specified pathname must not exist on disk



©  Bricsys NV. All rights reserved.