MID()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Xpand
Topics on this page:
Overview
See SUBSTRING().
USAGE
MID(string, position[, length])
MID(string FROM position[ FOR length])
Argument Name | Description |
---|---|
| The source string |
| The numeric starting position |
| Optional. The numeric length |
EXAMPLES
SELECT MID('mariadb', 2, 4);
+----------------------+
| MID('mariadb', 2, 4) |
+----------------------+
| aria |
+----------------------+