code: function divide(string, divider) {
      var seam = string.indexOf(divider);
      if (seam === -1) {
        return [string];
      }
  
      return [string.substring(0, seam), string.substring(seam + divider.length)];
    }
docs: Splits a string into two parts on either side of a specified divider.
  
  @private
  @param {string} string The string to divide into two parts.
  @param {string} divider The string used as the pivot point.
  @returns {Array.<string>} The parts of the string before and after the
  first occurrence of `divider`, or a 1-element array containing `string`
  if `divider` wasn't found.
  
  @examples
  divide('hello', 'll')   // => ['he', 'o']
  divide('banana', 'n')   // => ['ba', 'ana']
  divide('a->b->c', '->') // => ['a', 'b->c']
  divide('foo', 'xyz')    // => ['foo']
  divide('abc', 'abc')    // => ['', '']