Re: return string after the first space
Like this?
mysql> select substr('02 1234 5678', locate(' ','02 1234 5678')+1);
+------------------------------------------------------+
| substr('02 1234 5678', locate(' ','02 1234 5678')+1) |
+------------------------------------------------------+
| 1234 5678 |
+------------------------------------------------------+
1 row in set (0.00 sec)
mysql>
Good luck,
Barry.
Subject
Written By
Posted
Re: return string after the first space
July 26, 2015 10:56PM
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.