Quick Ref.
Functions
date
number
string
Data Types
date
number
string
Compatibility
SUBSTRING(s FROM i FOR j)
Engine OK Alternative
mysql yes SUBSTRING(s , i , j)
oracle no SUBSTRING(s , i , j)
postgres yes SUBSTRING(s , i , j)
sqlserver no SUBSTR(s , i , j)

SUBSTRING (ansi)

SUBSTRING allows you to extract part of a string.

 SUBSTRING('Hello world' FROM 2 FOR 3) -> 'llo' 

Results
See also: