Closed JesseAldridge closed 5 years ago
const image_name = v.rsplit('my.cool.image.png', '.', 1)[0] console.log(image_name) // "my.cool.image"
See Python docs: https://python-reference.readthedocs.io/en/latest/docs/str/rsplit.html
Thanks. But at the moment I'm not interested in adding this function.
See Python docs: https://python-reference.readthedocs.io/en/latest/docs/str/rsplit.html