I would like a regular expression or otherwise some method to remove the last character in a string if and only if that character is '/'. How can I do it?I would like a regular expression or otherwise
I would like a regular expression or otherwise some method to remove the last character in a string if and only if that character is '/'. How can I do it?I would like a regular expression or otherwise