DEV Community

Discussion on: Let's talk about how powerful split function is

Collapse
 
jalal246 profile image
Jalal 🚀

Hi Paweł, thanks for the reply. I am not sure if using match instead of split is simpler or just another way to count lines. And there's another point, using split, enables us to count words, characters, and spaces. How do you achieve this goal with match? I think this adds more complexity instead of developing what we already have.