split

Break a path into "head" and "tail" components. For example:

  • "/a/b/c" -> "/a","b/c"
  • "a/b/c" -> "a","b/c"
mstring
split
(
mstring path
,
out mstring head
,
out mstring tail
)

Meta