DEV Community

Discussion on: Challenge-- Capitalize each word in a string

Collapse
 
neradev profile image
Moritz Schramm

Luckily (or sometimes badly), everyone finds something different easier to read. I personally like the RegEx approach more, since it directly show what happens to which parts. I am quite used to read RegEx and find it more confusing to think again about what function is doing what and resulting in what.