public static function wordsTokenized($string)
    {
        for ($tokens = array(), $nextToken = strtok($string, ' '); $nextToken !== false; $nextToken = strtok(' ')) {
            if ($nextToken{0} == '"')
                $nextToken = $nextToken{strlen($nextToken)-1} == '"' ?
                                '"' . substr($nextToken, 1, -1) . '"'
                              : '"' . substr($nextToken, 1) . ' ' . strtok('"') . '"';

            $tokens[] = $nextToken;
        }
        return $tokens;
    }