Updated stringDelimiter

Do you even need the ternary here or could you just use what's in front of the question mark and get the same results?