string = string.substr(0, index) + person +
          string.substr(index + group.length, string.length);