Answers for "javascript if string length above"

4

How to make string shorter javascript

const string = "Name".slice(0, 250).concat('...');
const string2 = "Name".substring(0, 250).concat('...');
Posted by: Guest on February-22-2020

Code answers related to "javascript if string length above"

Code answers related to "Javascript"

Browse Popular Code Answers by Language