Goal: Split the path string into a tuple of segments using a string utility (see the ts-toolbelt hint).