replace commas with constructor param for delimiter