SUBSTRING_INDEX('www.java2s.com', '.', -2); : SUBSTRING_INDEX : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » SUBSTRING_INDEX »

 

SUBSTRING_INDEX('www.java2s.com', '.', -2);


mysql>
mysql> SELECT SUBSTRING_INDEX('www.navioo.com', '.', -2);
+--------------------------------------------+
| SUBSTRING_INDEX('www.navioo.com', '.', -2|
+--------------------------------------------+
| navioo.com                                 |
+--------------------------------------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» SUBSTRING_INDEX