字符串函数:
1 $name = "fakeface";2 $myname =substr($name,0,3);//输出前面三个字符 fak3 print $myname;4 $name = strtoupper($name); //小写5 print $name;6 $name = strtolower($name);、、大写7 print $name;8 $position = strpos($name,"c");//输出c的位置9 print $position;
PHP函数