This function can be used to merge two path's together.
This becomes useful if you want to work with a dynamic part in form of an array
and a static string part. The result will always be a path array.
You can specify a separator type for each part of the given path if you merge
differently formatted paths.
It merges stuff like:
- "a.path.to." and ["parts","inTheTree"] => ["a", "path", "to", "parts", "inTheTree"]
- "a.b." and "c.d.[asdf|id]" => ["a", "b", "", "c", "d", "[asdf|id]"
- "a.b" and "c,d" => ["a","b","c","d"] (If $separatorB is set to ",")
and so on...
This function can be used to merge two path's together. This becomes useful if you want to work with a dynamic part in form of an array and a static string part. The result will always be a path array. You can specify a separator type for each part of the given path if you merge differently formatted paths.
It merges stuff like: - "a.path.to." and ["parts","inTheTree"] => ["a", "path", "to", "parts", "inTheTree"] - "a.b." and "c.d.[asdf|id]" => ["a", "b", "", "c", "d", "[asdf|id]" - "a.b" and "c,d" => ["a","b","c","d"] (If $separatorB is set to ",") and so on...