Avoid possible crashes with 0 delimiters, more than 2 delimiters, or any delimiters that aren't for integers or strings.