join

fun List<String>.join(separator: CharSequence = "/"): String

Joins this list of strings into a path without leading or trailing separators.

Extension function on List<String>.

Return

the joined path string

Parameters

separator

the path separator (default "/")