I am trying to remove the last / from a URL, but only if there is no directory present. Is there a way to check from a URL, bu
I am trying to remove the last / from a URL, but only if there is no directory present. Is there a way to check from a URL, bu