how to make dots after 10 lenght of string in javascript

  // if(string.length > 10)

// {
// string = string.substring(0,10)+' ...';
// }

No comments:

Post a Comment

AI Tools

 Midjourney oter.ai aiva googlegemin dall-e copilot jasper copilot openaiplayground