字符串截取、长度、类型判断等
字符串截取:if ($keyword_str!=''){ echo substr($keyword_str,0,-1);//去掉最后一位 }判断指定字符串是否存在:if (strpos($dh_url,"/jingyan")!==false){ $class_2='class="dh_focus"
/www/wwwroot/xunjs.com/app/index/controller/Tags.php:34:string '截取' (length=6)
字符串截取:if ($keyword_str!=''){ echo substr($keyword_str,0,-1);//去掉最后一位 }判断指定字符串是否存在:if (strpos($dh_url,"/jingyan")!==false){ $class_2='class="dh_focus"