function findFirstSeparatorChar (input, startPos) {
  for (var i = startPos, len = input.length; i < len; i++) {
    if (separatorCharacters.indexOf(input[i]) !== -1) {
      return i
    }
  }
  return -1
}
Finds the first separator character in the input string