LibreOffice Module connectivity (master) 1
|
SUBSTRING(str,pos) SUBSTRING(str FROM pos) Returns a substring from string str starting at position pos: More...
#include <FStringFunctions.hxx>
Protected Member Functions | |
virtual ORowSetValue | operate (const std::vector< ORowSetValue > &lhs) const override |
virtual ORowSetValue | operate (const std::vector< ORowSetValue > &lhs) const =0 |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::ONthOperator | |
virtual void | Exec (OCodeStack &) override |
virtual void | Exec (OCodeStack &)=0 |
Public Member Functions inherited from connectivity::file::OCode | |
virtual | ~OCode () |
OCode (OCode &&)=default | |
OCode (const OCode &)=default | |
OCode ()=default | |
OCode & | operator= (const OCode &)=default |
OCode & | operator= (OCode &&)=default |
SUBSTRING(str,pos) SUBSTRING(str FROM pos) Returns a substring from string str starting at position pos:
SELECT SUBSTRING('Quadratically',5); -> 'ratically' SELECT SUBSTRING('foobarbar' FROM 4); -> 'barbar'
SUBSTRING(str,pos,len) SUBSTRING(str FROM pos FOR len) Returns a substring len characters long from string str, starting at position pos. The variant form that uses FROM is SQL-92 syntax:
SELECT SUBSTRING('Quadratically',5,6); -> 'ratica'
Definition at line 158 of file FStringFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::ONthOperator.
Definition at line 116 of file FStringFunctions.cxx.