Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 301 Bytes

File metadata and controls

26 lines (14 loc) · 301 Bytes

SplitPath

将路径分割为文件夹路径和文件名

basepath, filename = SplitPath(path)

参数:

  • path [string]:路径

返回值:

  • basepath [string]:文件夹路径
  • filename [string]:文件名

示例