/**
 * Used to replace any amount of %s tokens with array of strings to concatenated string.
 * `hello %s %s %s` with values ['1', 'world', '2'] will lead to `hello 1 world 2`.
 *
 * If there isn't enough array values then %s will be left to string.
 *
 * @param string
 * @param values
 * @returns
 */
export function stringConcat(string, values) {
  let copy = string;
  for (const v of values) {
    copy = copy.replace("%s", v);
  }
  return copy;
}
//# sourceMappingURL=stringConcat.js.map
