显示下拉菜单

rtrim()

« rsort | serialize »
<?php
$string 
rtrim (
    
// string $str
    
  // [string $charlist]
);
?>
结果
$string = '        These are a few words :)'
示例
#1 rtrim  ("\t\tThese are a few words :) ... ")
#2 rtrim  ("\t\tThese are a few words :) ... ",
 
" \t.")
#3 rtrim  ("Hello World",
 
"Hdle")
#4 rtrim  ("\x09Example string\x0A",
 
"\x00..\x1F")
另请参阅
ltrim, trim