I'll try answering this one for you:
split /\s/ and split / / are essentially the same. But using \s splits on whitespace which is already matching words isn't it?
Quote:
Am I right, that I have to do the following if I want to search for words and not for letters?:split /\s/ and split / / are essentially the same. But using \s splits on whitespace which is already matching words isn't it?