如何截取字符串里的字符?

我现在有一个字符串"123,4567,78902",如何把里面的数字分别取出来放到3个变量里,
谢谢!
---------------------------------------------------------------

"; } ?> \--------------------------------------------------------------- $str = "123,4567,78902"; $aa = explode(',', $str); print " ```
";   
print_r($aa);   
print "
``` ";
Published At
Categories with Web编程
comments powered by Disqus