Word Count V

Agility Kata „Word Count V“

Words containing a hypen are no longer separated, e.g. „Humpty-Dumpty“ will be considered 1 word instead of 2.

$ wordcount
Enter text: Humpty-Dumpty sat on a wall. Humpty-Dumpty had a great fall.
Number of words: 7, unique: 6
$