HI,
Its not good to use your own separator in the response text. The best solution for this is to use JSON. json_encode() function will serialize your array and give you the JSON string.
$arr = array ('a'=>'some text','b'=>2,'c'=>3,'d'=>4,'e'=>5);
echo json_encode($arr);
?>
Then convert this JSON string to JSON object using Javascript eval() function.
var JSONObj= eval('(' + responseText + ')');
then to access value of 'a' use the below syntax
JSONObj.a