Function MID

MID(string, start, length)
The function returns a string containing a specified number of characters from a string. Example:
sMiddle = mid("123MID789", 4, 3)

See also: