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