Is it possible to remove the trailing slash / from a string using PHP?
/
rtrim Use rtrim cause it respects the string doesnt end with a trailing slash