As title. For example if I have this:
foo/bar/baz/bee
which is stored in a variable, then which function should I call to get:
foo/bar/baz
Notice that I will need to store this result back to the variable.
Thanks in advance! I also want to know whether this is possible in Lua too.