trim描述
这个函数返回str字符串被去除首尾空白后的新字符串。不带第二个参数trim() 将去除下列字符:
你可以通过charlist参数指定你想去除的字符。Simply list all characters that you want to be stripped. With .. you can specify a range of characters. 参见ltrim()和rtrim(). |
PHP4用户手册:函数->trim
最新推荐文章于 2022-09-18 04:11:35 发布