摘要:
1.查找1.1strstr 查找字符串的首次出现string strstr ( string $haystack , mixed $needle [, bool $before_needle = false ] ) 注:$haystack是当事字符串,$needle是被查找的字符串,该函数区分大小写;返回值是从needle开始到最后;关于$needle,如果不是字符串,被当作整形来作为字符的序号来使用:before_needle若为true,则返回前面的东西。 复制代码 代码如下:<?php $email = 'yuxiaoxiao@example.com'; $doma 阅读全文
posted @ 2013-06-14 10:14
路过你的苦
阅读(218)
评论(0)
推荐(0)