Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | ffc982706cfb18b2660e651d15622a8a7193dfe6 |
|---|---|
| Date: | 2013-01-04 14:05:27 |
| User: | drh |
| Comment: | Fix the order of parameters in the documentation of the INSTR() function. |
Tags And Properties
- branch=trunk inherited from [b2e03e19ab]
- sym-trunk inherited from [b2e03e19ab]
Changes
Changes to pages/lang.in
2074 funcdef {ifnull(X,Y)} {} { 2074 funcdef {ifnull(X,Y)} {} { 2075 ^The ifnull() function returns a copy of its first non-NULL argument, or 2075 ^The ifnull() function returns a copy of its first non-NULL argument, or 2076 NULL if both arguments are NULL. ^Ifnull() must have exactly 2 arguments. 2076 NULL if both arguments are NULL. ^Ifnull() must have exactly 2 arguments. 2077 ^The ifnull() function is equivalent to [coalesce()] with two arguments. 2077 ^The ifnull() function is equivalent to [coalesce()] with two arguments. 2078 } 2078 } 2079 2079 2080 funcdef {instr(X,Y)} {} { 2080 funcdef {instr(X,Y)} {} { 2081 ^The instr(X,Y) function finds the first occurrence of string X within | 2081 ^The instr(X,Y) function finds the first occurrence of string Y within 2082 string Y and returns the number of prior characters plus 1, or 0 if | 2082 string X and returns the number of prior characters plus 1, or 0 if 2083 X is nowhere found within Y. | 2083 Y is nowhere found within X. 2084 ^Or, if X and Y are both BLOBs, then instr(X,Y) returns one 2084 ^Or, if X and Y are both BLOBs, then instr(X,Y) returns one 2085 more than the number bytes prior to the first occurrence of X, or 0 if | 2085 more than the number bytes prior to the first occurrence of Y, or 0 if 2086 X does not occur anywhere within Y. | 2086 Y does not occur anywhere within X. 2087 ^If both arguments X and Y to instr(X,Y) are non-NULL and are not BLOBs 2087 ^If both arguments X and Y to instr(X,Y) are non-NULL and are not BLOBs 2088 then both are interpreted as strings. 2088 then both are interpreted as strings. 2089 ^If either X or Y are NULL in instr(X,Y) then the result is NULL. 2089 ^If either X or Y are NULL in instr(X,Y) then the result is NULL. 2090 } 2090 } 2091 2091 2092 funcdef {hex(X)} {} { 2092 funcdef {hex(X)} {} { 2093 ^The hex() function interprets its argument as a BLOB and returns 2093 ^The hex() function interprets its argument as a BLOB and returns