0

$str = "https://codex.wordpress.org/";
echo $str . "<br>";
echo rtrim($str,"/");

Jagdish Sarma Asked question April 12, 2023
Add a Comment