In MariaDB, MID()
is a synonym for SUBSTRING()
. It returns a substring from a given string.
According to the MariaDB documentation it’s a synonym for the SUBSTRING(str,pos,len)
syntax of SUBSTRING()
, however, my tests show that it works with all of the various forms.