MySQL Forums
Forum List  »  Newbie

Last two words from a string
Posted by: Liban Ali
Date: November 14, 2010 10:31AM

How do I extract the last two words from a record into a new column? I've tried the preg_split function but I'm only concerned with the last two words and the lengths of each record is different. Thanks.

Options: ReplyQuote


Subject
Written By
Posted
Last two words from a string
November 14, 2010 10:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.