Markus Fischer wrote:

> word (str, num) 
> Returns the num'th word from string str. If num is greater than the
> number of words in str, the null string is returned. 

We've implemented a userland function like this for some code at work 
and I welcome an implementation in C. The only thing I'd add is an 
optional field one could use to change the character that separates the 
words in the sentence. But perhaps that makes it a bit too close to a 
str_* type function, like explode().

-- 
Gabriel Ricard
[EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to