Remove variable ends of a string.
Hi there,
I have for example a string like this:
/bedrijfsgroep/dienstencentrum/pd/catalogus/niveau0/niveau1/niveau2/test.doc
I want to remove for example till this so that I got this string:
/bedrijfsgroep/dienstencentrum/pd/catalogus/niveau0/
Sometimes it will be this:
/bedrijfsgroep/dienstencentrum/pd/catalogus/niveau0/niveau1/
And so on. How can I remove from the till for example niveau0?
Please can someone help me out with this one?