Reg*_*dit 1 php string
我的应用程序以这种方式存储字符串
Yanone+Kaffeesatz:700 PT+Sans+Narrow PT+Sans+Narrow:regular,bold ...etc
我需要转换每个字符串,以便最终结果是冒号左边的所有内容(如果有的话).
任何帮助非常感谢.
Phi*_*hil 6
使用 strtok()
strtok()
$sub = strtok($string, ':');
归档时间:
14 年 前
查看次数:
1003 次
最近记录: