H-Jack

As long as the heart unwilling, there is no time to give up.

PHP去掉第一个字符和最后一个字符

<?php
$txt=substr($txt,2,strlen($txt)-1); //去掉第一个字符和最后一个字符
?>
posted @ 2020-04-10 22:11  H-Jack  阅读(2389)  评论(0编辑  收藏  举报