Показать выпадающий список

chop()

« checkdnsrr | chr »
<?php
$string 
chop (
    
// string $str
    
  // [string $charlist]
);
?>
Результат
$string = '        These are a few words :) ...'
Примеры
#1 chop  ("\t\tThese are a few words :) ... ")
#2 chop  ("\t\tThese are a few words :) ... ",
 
" \t.")
#3 chop  ("Hello World",
 
"Hdle")
#4 chop  ("\x09Example string\x0A",
 
"\x00..\x1F")
См. также
rtrim