Func string trim:修订历史

本页内容

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月17日 (星期三)

    • 当前之前 22:302022年8月17日 (三) 22:30Neo 讨论 贡献 2,745字节 +2,745 创建页面,内容为“{{DISPLAYTITLE:trim()}}94 = PHP trim() 函数 = PHP String 参考手册 移除字符串两侧的字符("Hello" 中的 "He"以及 "World" 中的 "d!"): <sample title="" desc="" lang="php" hererun="1">example_start <?php $str = "Hello World!"; echo $str . PHP_EOL; echo trim($str,"Hed!"); ?> example_end</sample> == 定义和用法 == trim() 函数移除字符串两侧…”