Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.4.1
-
None
Description
String functions are currently 0-based (POSITION, etc). We need to create 1-based string functions (POSITION1, etc), and 0-based aliases (POSITION0, etc)
Here's the list of functions/aliases the need to be implemented:
POS (= POSITION)
POSITION0 (=POSITION)
POS0 (=POSITION)
POSITION1
POS1 (=POSITION1)
SUBSTR0 (=SUBSTR)
SUBSTR1
CONTAINS_REGEX (=REGEXP_CONTAINS)
CONTAINS_REGEXP (=REGEXP_CONTAINS)
REGEX_CONTAINS (=REGEXP_CONTAINS)
REGEX_LIKE (=REGEXP_LIKE)
REGEX_POSITION0 (=REGEXP_POSITION0)
REGEX_POS0 (=REGEXP_POSITION0)
REGEXP_POSITION0
REGEXP_POS0 (=REGEXP_POSITION0)
REGEX_POSITION1 (=REGEXP_POSITION1)
REGEX_POS1 (=REGEXP_POSITION1)
REGEXP_POSITION1
REGEXP_POS1 (=REGEXP_POSITION1)
REGEX_POSITION (=REGEXP_POSITION0)
REGEX_POS (=REGEXP_POSITION0)
REGEX_REPLACE (=REGEXP_REPLACE)
REGEXP_POSITION (=REGEXP_POSITION0)
REGEXP_POS (=REGEXP_POSITION0)