DEV Community


Discussion on: Daily Challenge #39 - Virus

hectorpascual profile image
Héctor Pascual

Nice, that way (checking words containing dots) you can check if it is needed to capitalize more than once in the same line, clever!!

bigj1m profile image
Jim Plourde

I edited my answer so my code would not consider periods in the middle of a word to be the end of a sentence (ie: This file is named nice.gif and it is weird.)