File.join
joinsubpaths
Group: Calculations
Documentation
Join two or more path segments together, normalizing the ..
and .
subpaths.
Arguments
subpaths
: The path segment or segments to join to the path ofself
.
Examples
Concatenate two file path segments.
import Standard.Examples
example_append = Examples.data_dir.join "scratch_file"
Concatenate multiple file path segments and normalizes the result.
import Standard.Examples
example_append = Examples.data_dir.join ["2022", "10", "31", "scratch_file"]