I'm creating a simple array from an xml file -

pictures = new Array();
for (var i = 1; i<=_root.Images; i++) {
	pictures[i] = _root.image_folder+xmlData.gallery[1].images[i-1].image[0].file.value;
This outputs my image paths fine, but for some reason, it puts a comma at the very beginning?

ie -

, images/image1.jpg,images/image2.jpg,images/image3.jpg, etc...Is there an easy way to get rid of that first comma?