I have a string like this: first/exemple/import/status/5b12f918-f2ef-436f-808c-50ea48da000
I need to the output like this: first/exemple/import/
I need to remove from status
and so on. I thought about remplace
but it wont work because this 5b12f918-f2ef-436f-808c-50ea48da000
is variable so it changes.
if there any function can do this please