This MariaDB tutorial explains how to use the MariaDB MID function with syntax and examples.
The MariaDB MID function allows you to extract a substring from a string.
The syntax for the MID function in MariaDB is:
The source string.
The position for extraction. The first position in the string is always 1.
The number of characters to extract.
The MID function can be used in the following versions of MariaDB:
Let's look at some MariaDB MID function examples and explore how to use the MID function in MariaDB.
For example: