php删除字符串最后一位的方法:1、使用【substr()】函数,代码为【substr($arr_str,0,strlen($arr_str)-1)】;2、使用【rtrim()】函数,代码为【rtrim($arr_str, ",")】。
技术文章 / 下载软件趣味内容 / 专业带飞