VarLevelSplit function

Split on levels within a variable