In the example SplicePath is taking the first path element

````
$fullPath = '/cms/menu/main-menu/sub-item/item';
$relPath = substr($fullPath, 0, strlen($this->menuRoot)); // main-menu/sub-item/item
$firstElement = PathHelper::splicePath($relPath, 0, 1); // main-menu
````

So splicePath would  just be a generic tool for retrieving (concatenated) path Y path elements from offset X.