splitpath
verbUK /ˈsplɪt.pɑːθ/
US /ˈsplɪt.pæθ/
To split a path means to break it into smaller parts.
The program will splitpath the file location into folders and a file name.
RELATED WORDS
OTHER MEANINGS
2. To divide a route into separate sections for planning.
The hikers splitpath the trail into three easy stages.
3. In computing, to separate a file path into its folder and file components.
Use splitpath to get the folder name from the full path.
4. To branch off into different directions.
At the river, the road will splitpath into two smaller lanes.