const string = "Name".slice(0, 250).concat('...'); const string2 = "Name".substring(0, 250).concat('...');
short = long.replace(/(.{7})..+/, "$1…");