更新时间:2023-02-25 13:08:08
您可以使用 PATH_SEPARATOR
常量,然后根据需要使用 DIRECTORY_SEPARATOR
常量来分割路径.请参阅 目录预定义常量
You can use the PATH_SEPARATOR
constant, then the DIRECTORY_SEPARATOR
constant to split the path if needed.
See Directory Predefined Constants