LEFT()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Returns the leftmost len characters from the string str, or NULL if any argument is NULL.
EXAMPLES
SELECT LEFT('mariadbmaria', 5);
+-------------------------+
| LEFT('mariadbmaria', 5) |
+-------------------------+
| maria |
+-------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.