Skip to content
Advertisement

How to count all the words with special characters

I have a question about a String i want to count all the characters in the string. Like if i have a string

JavaScript

Advertisement

Answer

You can try this code.

JavaScript

Hopefully it will be working fine.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement