Hello,
I've a question: I want to remove parts of my string beginning from the right side until a certain point in my string. How would I accomplish that?
An example: my string contains this domain:
http://www.domain.com/storage/file.docx
First, I want to search for the dot from the right side. When I find the dot, I want to remove it and everything that is on the right side of it (this is dynamic, so it can be .a or even .aaaaaaa), so that my output is:
http://www.domain.com/storage/file