Answers for "jquery limit words in string"

0

jquery limit words in string

"this is a longish string of text".replace(/^(.{11}[^\s]*).*/, "$1"); 
//"this is a longish"
Posted by: Guest on April-16-2022

Code answers related to "jquery limit words in string"

Code answers related to "Javascript"

Browse Popular Code Answers by Language