qq_寺之腊侯_0
2017-06-17 07:38
怎样把'hoPe YOU a day!'转为Hope you a day!
用strtoupper函数
<?php
$string = "hoPe YOU a day";
$lower = strtolower(substr ($string,1,13));
$upper = strtoupper(substr ($string,0,1));
echo $upper.$lower;
?>
PHP入门篇
455956 学习 · 6306 问题
相似问题