Alternate solution - instead of using split/size - use regex and filter out all title without a space between a word? Just wondering.
There is almost always more than one way to do a Lab. However, suggesting that students not do the lab as suggested is not really very helpful.
My apology for the side tracking, I was wondering.