Sorry, quick correction... didn't review it first. $1 = strpos($thestring, "\""); //escaping the " mark do that for all 4 David