The Stack Overflow podcast is back! Listen to an interview with our new CEO.

The SUBSTRING function is used to return a portion of a string.

Typical implementations of SUBSTRING allow the user to specify the starting position, and length of the result string to be returned from the source string, or to return the left-most or right-most "X" number of characters from the source string.

history | excerpt history