added strreplace for separator as per @milesj comment (#15)