Added function to set delimiters of string