   SUBSTRING(str,pos)
   SUBSTRING(str FROM pos)
   SUBSTRING(str,pos,len)
   SUBSTRING(str FROM pos FOR len)

The forms without a len argument
return a substring from string str starting at position pos.
The forms with a len argument
return a substring len characters long from string str,
starting at position pos.
The forms that use FROM are standard SQL syntax.
