Yes, you can specify a custom string as a separator which will be placed between the elements in the final string.