php截取字符并保留完整单词2024-02-01技术运维PHP <?php $desc = substr($str, 0, 115) . " "; echo substr($desc, 0, strrpos($desc, ' ')); ?>...