I'm not really good with arrays and have had a go at this, but to no avail.
I have a string called $str and another called $area.
I need to split the string $str into an array of words (delimiter being spaces). This is the part I was able to do...
The next bit is to get the longest word from $str which is also in $area and store it within any new variable.
Can anyone do this?