joinpath

Joins one or more file/directory path arguments into a merged path, inserting/removing a path separator between arguments as needed. Takes one to 5 path component arguments. E.g.:

joinpath('one', 'two/', '/three/four', 'five')

yields

one/two/three/four/five

Added in version 7.00.1352770000 20121112. Redundant path separators internal to an argument are not removed, nor are "." and ".." path components removed. Prior to version 7.07.1550082000 20190213 redundant path separators between arguments were not removed.


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.