Added a couple string utilities to get all but the last delimited substring (e.g. for paths)