Skip to content
x-lisp
Search
K
Menu
Return to top
On this page
路径扩展名
类型
meta-lisp
(
->
文本型
文本型
)
描述
获取文件扩展名(包含点号)。
例子
meta-lisp
(路径扩展名
"/tmp/foo.txt"
)
;; => ".txt"
(路径扩展名
"/tmp/foo"
)
;; => ""