Loading...
$str = "Hello World!"; echo $str . "<br>"; echo rtrim($str,"World!"); $str="PHP你好、PHP是世界上最好的预言、我喜欢PHP"; echo rtrim($str,'PHP') PHP你好、PHP是世界上最好的预言、我喜欢...