StringUtils::FindWords fix dead loop.
Merge pull request #2617 from ulion/fix_findword_deadloop

StringUtils::FindWords fix dead loop (introduced by PR #2536)