摘要:
1,print_r(str_split('hello')); print_r(str_split('hello',3)); array ( [0] => hel [1] => )/*指定什么位置开始分割*/array([0] => h[1] => e[2] => l[3] => l[4] => o)/*指定字符开始分割,有多少次分多少次*/2,print_r(explode(',','h,e,l,l,o'));array([0] => h[1] => e[2] => l[ 阅读全文
摘要:
mysql 删除指定字段的值的最后字符update 表名 set `name` = left(`name`,length(`name`) - 1)注意了sqlite对left不支持 阅读全文