标签:长度 基础 pre bsp log 函数返回 str hello code
<?php //1.strlen(),strlen() 函数返回字符串的长度,以字符计。 echo strlen("hello world"); echo "<hr>"; //2.strpos() echo strpos("hello world", "world"); echo "<br>"; echo strpos("hello world", "hello"); echo "<hr>"; ?>
标签:长度 基础 pre bsp log 函数返回 str hello code
原文地址:http://www.cnblogs.com/noper/p/6212410.html