validateParameterSeparator: fix for multiple spaces between parameters

When there are multiple spaces between parameters, throw an error
until it matches the specified seperator value.

Fixes #701
Closes #707