PHP 字符串函数

chr 返回 ASCII 码的字符串
ord 返回字符串的 ASCII 码
addcslashes 给指定的字符串添加反斜杠
addslashes 在指定的预定义字符添加反斜杠
bin2hex 把 ASCII 值转化成十六进制值
trim 去除字符串两边的空格和其他预定义字符ltrim ltrim
strlen 返回字符串的长度
substr 截取指定的字符串
str_pad 把字符串填充为指定长度
str_repeat  
str_repelace  
str_rot13  
strip_tags  
stripcslshes  
stripslshes  
explode  
implode str_split
chunk_split  
crc32  
crpyt  

ps:今天不满意。

posted @ 2015-06-08 21:50  大鲸  阅读(119)  评论(0)    收藏  举报