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

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

Code With Bubb

2 года назад

5,210 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Pradnya Kasar
Pradnya Kasar - 26.09.2022 08:16

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

Ответить
AntÒn Brándön Rūfûs
AntÒn Brándön Rūfûs - 21.08.2021 14:30

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

Ответить
Ricko
Ricko - 20.08.2021 21:26

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

Boom thats how you fix that 👍

Ответить
Sagiv Lapkin
Sagiv Lapkin - 20.08.2021 20:04

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

Ответить
Design Coded
Design Coded - 20.08.2021 18:05

wooow great

Ответить