String

MID (s, start [,length])

Returns the part (length) of the string s starting from ‘start’ position.

If the ‘length’ parameter is omitted, MID returns the whole string from the position ‘start’.