Posted by ImOk on 05/18/06 01:47
I have this PHP statement which works fine and breaks down a string of
lines delimited with a \r into an array.
$arrList=split("\r", $strList);
But what I really want is to be able to tell it to split out only the
strings that start with the letter "b".
E.g. I thought this would work "b\W\r"
I tried every regular expression but cant figure it out. I could use
some other function combinations to achive this but I though if there
is a way to do it with just spli()
Any ideas?
[Back to original message]
|