I have serval strings like this:
DefineEvent(20020114, "FPMP Gov Bd Mtg", "http://wings.buffalo.edu/vpha/meeting_month.htm#Jan", "", 0, 0);
Now I want to pull out the info between " and ". Is there any PHP function I can use to do this?
Thanks
You could use explode and str_replace together. i.e.
$string='"1","2","3"'; $bits=explode(", ", str_replace("\"", "", $string));
You will then have an array of the contents of the "'s
Mark.