Removes trailing forward slashes and backslashes if they exist.
<?php
use function Qubus\Support\Helpers\remove_trailing_slash;
remove_trailing_slash(string $string): string;
$string (string) (required) What to remove the trailing slashes from.
(string) String without the trailing slash.
Last Updated on August 14, 2024 by Joshua