Well organized easy to understand SQL tutorial with lots of examples. Including PHP, ASP. ... The MID() function is used to extract characters from a text field.
www.w3schools.com