In MariaDB, SUBSTR()
is a synonym for SUBSTRING()
.
It’s a built-in string function that returns a substring from a given string.
It requires at least two arguments; the string, and the position for which to extract the substring from. It also accepts an optional third argument that allows you to specify how long the substring should be.
Continue reading