PHP常用字符串函数

简介:这是PHP常用字符串函数的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=324394' scrolling='no'>


<HTML>
<HEAD>
<TITLE>常用字符串函数(三)</TITLE>
</HEAD>
<BODY>
<?
 //颠倒字串
 print("abcdefg  颠倒  ");
 print(strrev("abcdefg")."<hr>");

 //小写字串
 print("小写: ".strtolower("Hello World")."<hr>");

 //大写字串
 print("大写: ".strtoupper("Hello World")."<hr>");

 //去空格
 $text = "     whitespace      ";
 print("\"" . trim($text) . "\"");
?>
</BODY>


</HTML>

“PHP常用字符串函数”的更多相关文章 》

爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

http://biancheng.dnbcw.info/php/324394.html pageNo:15

posted on 2011-11-19 11:26  圣者  阅读(160)  评论(0编辑  收藏  举报

导航