ConcatPath(
string:part1,
string:part2,
[string:part...]
)
→ string
Directory Opus 13.22.4 and above.
Joins one or more strings together into a path and returns the result. Empty strings are skipped.
Similar to Concat, but you don't need to specify the path separator or number of components.
By default, a backslash "\" will be used as the path separator. A forward slash "/" will be used instead if one or more of the parts already contains a forward slash "/" and none of the parts contain any backslashes.
Example:
Output(ConcatPath("C:\Program Files", "GPSoftware", "Directory Opus"));
--> C:\Program Files\GPSoftware\Directory Opus
Output(ConcatPath("C:/Program Files", "GPSoftware", "Directory Opus"));
--> C:/Program Files/GPSoftware/Directory Opus
See also: Concat