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

SUBSTR

SUBSTR allows you to extract part of a string.

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

Results
See also: