I missed this thread but:
a) split takes on regex, explode does not.
b) spliti is case insensitive, spaces don't have cases.
So, in your example, might as well use explode.
$words = explode(' ', trim($string));
Although, let's say the following existed (it will):
$string = 'a b c d
Tested and works
$word=exlode(" ",$line);
--
Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com
"Yamin Prabudy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> hi guys,
> I need help here.
> I got this
> $line = "no more words
3 matches
Mail list logo