FPathViews::SplitFirstComponent

Split the given absolute or relative path into its topmost directory and the relative path from that directory.