code: function splitValue(value, separator) {
      var separatorRegexp = new RegExp(separator);
      var escapedSeparatorRegexp = new RegExp('\\\\' + separator, 'g');
      // easiest way, replace it with really rare character sequence
      value = value.replace(escapedSeparatorRegexp, 'ΩΩΩ');
      if (value.match(separatorRegexp)) {
          value = value.split(separator);
  
          value = value.map(function (item) {
              return item.replace(/ΩΩΩ/g, separator);
          });
      } else {
          value = value.replace(/ΩΩΩ/g, separator);
      }
      return value;
  }
docs: Split vcard field value by separator
  @param {string|string[]} value
  @param {string} separator
  @returns {string|string[]}