SUBSTRING('ABCDEFGHIJK' FROM -4 FOR 2); : SUBSTRING : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » SUBSTRING »

 

SUBSTRING('ABCDEFGHIJK' FROM -4 FOR 2);


mysql>
mysql>
mysql> SELECT SUBSTRING('ABCDEFGHIJK' FROM -FOR 2);
+----------------------------------------+
| SUBSTRING('ABCDEFGHIJK' FROM -FOR 2|
+----------------------------------------+
| HI                                     |
+----------------------------------------+
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