trim描述
这个函数返回str字符串被去除首尾空白后的新字符串。不带第二个参数trim() 将去除下列字符:
你可以通过charlist参数指定你想去除的字符。Simply list all characters that you want to be stripped. With .. you can specify a range of characters. 参见ltrim()和rtrim(). |
trim描述
这个函数返回str字符串被去除首尾空白后的新字符串。不带第二个参数trim() 将去除下列字符:
你可以通过charlist参数指定你想去除的字符。Simply list all characters that you want to be stripped. With .. you can specify a range of characters. 参见ltrim()和rtrim(). |