ITeye博客

学习关键词

icrwen · 2011-11-02 09:55 · php · java · c++ · Extjs · 数据库 · 编程语言 · Markdown

php 正则表达式分割字符

split the phrase by any number of commas or space characters,
// which include " ", \r, \t, \n and \f
$keywords = preg_split ("/[\s,]+/", "hypertext language, programming");

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。