I thought the problem was an extra ' - ' in file names which leads to wrong deconstruction later on. You could avoid such problems by stating to only use the first / last ' - ' while splitting.
But like the referenced thread points out you need to split three things making things more difficult.
So if we keep the "setnr - name - unoff" format we should prohibit the use of ' - ' (or just '-'?) in the subnames.
f we keep only "setnr - unoff" prohibiting it in the setnr only should be enough for splitting.
But like the referenced thread points out you need to split three things making things more difficult.
So if we keep the "setnr - name - unoff" format we should prohibit the use of ' - ' (or just '-'?) in the subnames.
f we keep only "setnr - unoff" prohibiting it in the setnr only should be enough for splitting.