Socialist Francois Hollande edged out French president Nicolas Sarkozy in the first round of France’s presidential election.