拆分路径函数
- 更新时间2026-02-19
- 阅读时长2分钟
返回路径最后部分的名称和最后部分之前的拆分的路径。

输入/输出
路径
—
路径指定要操作的路径。 如该参数是空路径或非法,函数将在名称中返回空字符串,并在拆分的路径中返回<非法路径>。
拆分的路径
—
拆分的路径是通过从路径末尾删除名称得到的路径。
名称
—
名称是指定路径的最后一个元素。 |
ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.