By Noah Bierman, Globe Staff Though Elizabeth Warren’s entry into the 2012 US Senate Democratic primary has caused two candidates to drop out, Alan Khazei’s campaign said today that he had money to compete for the “long haul” and plans to remain in the campaign.Alan KhazeiCampaign spokesman Scott Ferson said Khazei raised $365,000 this quarter, despite the passing of Khazei’s mother, which forced Khazei to leave the trail for several weeks. Ferson said the campaign would report $750,000 in cash available, though he could not say how much of that was usable for the primary versus the general election.“Obviously, candidates are reassessing based on the inability to raise money. We don’t have that problem,” Ferson said today. “Alan is in this for the long haul.”Khazei, cofounder of a national service program, has been viewed as the candidate considered most likely to claim the nomination to take on Republican Scott Brown should Warren falter.Warren’s entry into the race last month has excited the Democratic establishment, making for a difficult fund-raising environment for others competing for the nomination.Warren has not yet revealed her fund-raising totals for the quarter, which are due later this month.Through two quarters, Khazei has raised $1.3 million, his campaign said. Though his recent numbers represent a large drop-off from his first quarter, they show he will probably have enough money to remain a viable candidate.Newton Mayor Setti Warren dropped out last week and Bob Massie, a Somerville activist, dropped out today. Both cited Warren’s entry into the race as an obstacle they could not overcome.In addition to Khazei and Warren, three others remain in the Democratic race: Thomas P. Conroy, a state representative from Wayland; Marisa DeFranco, a North Shore immigration attorney; and Herb Robinson, a Newton engineer. Noah Bierman can be reached at . Follow him on Twitter @noahbierman.