code: function containsCharacter(string, char1, fromIndex, stopCharacterTable) {
    var len = string.length;
    for (var i = fromIndex; i < len; ++i) {
      var ch = string.charCodeAt(i);
  
      if (ch === char1) {
        return true;
      }
      else if (stopCharacterTable[ch] === 1) {
        return false;
      }
    }
    return false;
  }
docs: Search `char1` (integer code for a character) in `string` starting from `fromIndex` and ending at `string.length - 1` or when a stop character is found