SUBSTRING
Returns a substring starting at the specified position [and having a specified length]
SUBSTRING(str, pos [,len])
pos
The position at which the substring will start
len
Optional. The length of the received substring
If the third parameter len is not specified, then the substring is returned from position pos to the end of str.
Examples
SELECT SUBSTRING('sql-academy', 5);
SELECT SUBSTRING('sql-academy', 1, 3);