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

SUBSTRING

SUBSTRING allows you to extract part of a string.

 SUBSTRING('Hello world', 2, 3) -> 'llo' 

Results
See also: