I'm trying to retrieve the last word from an HTML table cell stored in an array value.
All of the words are space delimited.
I've tried using split /\s/, $$row[1] but this doesn't always return the last
word for me since there could be 2,3, or 4 words.

Could someone point me in the right direction. I was hoping for a simple solution not having to count the words in the cell and then retrieve the last word based on the count of words.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to