显示下拉菜单

chop()

« checkdnsrr | chr »
<?php
$string 
chop (
    
// string $str
    
  // [string $charlist]
);
?>
结果
$string = 'Hello Wor'
示例
#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