function to_seperated_case() {
			var seperator = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '-';

			return this.words().map(function (_) {
				return _.replace(/^./, function (match) {
					return toLowerCase(match);
				});
			}).join(seperator);
		}
/**
   * Converts the string to a seperated case, where the seperator is defined by the user.
   * @param {string} [seperator="-"] The seperator to seperate the string with.
   * @returns {string} The resulting seperated form of the string.
   * @memberof XtraUtils.String#
   * @example
   * // returns 'my-cat'
   * let str = 'my cat';
   * str.to-seperated-case();
   * @example
   * // returns 'my|cat'
   * let str = 'my cat';
   * str.to-seperated-case('|');
   */
Converts the string to a seperated case, where the seperator is defined by the user.
@param {string} [seperator="-"] The seperator to seperate the string with.
@returns {string} The resulting seperated form of the string.
Converts the string to a seperated case where the seperator is defined by the user . @param { string } [ seperator = " - " ] The seperator to seperate the string with . @returns { string } The resulting seperated form of the string .
function to_seperated_case() {
			var seperator = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '-';
			return this.words().map(function (_) {
				return _.replace(/^./, function (match) {
					return toLowerCase(match);
				});
			}).join(seperator);
		}
function to_seperated_case ( ) { var seperator = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : '-' ; return this . words ( ) . map ( function ( _ ) { return _ . replace ( / ^. / , function ( match ) { return toLowerCase ( match ) ; } ) ; } ) . join ( seperator ) ; }
Converts the string to a seperated case, where the seperator is defined by the user.
Converts the string to a seperated case where the seperator is defined by the user .