UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

16 lines 559 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.concat = void 0; const rTrim_1 = require("./rTrim"); /** * Concatenates the two given strings using the optional separator * @param {string} value1 First string * @param {string} value2 Second string * @param {string} separator Optional separator * @return string */ const concat = (value1, value2, separator = undefined) => { return (0, rTrim_1.rTrim)(value1) + (separator ? separator : "") + value2; }; exports.concat = concat; //# sourceMappingURL=concat.js.map