DevTips Daily: How to count the number of words in a string, using JavaScript

preview_player
Показать описание
⭐️ Check out more DevTips Daily ⭐️

#devtipsdaily Channel Handle @codebubb
Рекомендации по теме
Комментарии
Автор

to make it even perfect you can also replace dots and comas with a space

Boom thats how you fix that 👍

ricko
Автор

If I want the count of all strings from text files, then how to do that?

pradnyakasar
Автор

'string with words'.split(' ').length;

Sagiv
Автор

Hi and thanks for awsome videos)) update the playlist, pls) thx 🐴

AntOn_BrandOn_RufUs