Exibir a lista drop-down

rtrim()

« rsort | serialize »
<?php
$string 
rtrim (
    
// string $str
    
  // [string $charlist]
);
?>
resultado
$string = '        These are a few words :) ...'
Exemplos
#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")
Veja também
ltrim, trim