首页 / PHP / php – 删除字符串的最后一个字符,如果它是$variable