Many hyperlinks are disabled.

Use anonymous login
to enable hyperlinks.

Overview

Comment: | Fix the order of parameters in the documentation of the INSTR() function. |
---|---|

Timelines: | family | ancestors | descendants | both | trunk |

Files: | files | file ages | folders |

SHA1: |
ffc982706cfb18b2660e651d15622a8a |

User & Date: | drh 2013-01-04 14:05:27 |

Context

2013-01-05
| ||

17:56 | Fix typo in comment. check-in: 85008dde3d user: mistachkin tags: trunk | |

2013-01-04
| ||

14:05 | Fix the order of parameters in the documentation of the INSTR() function. check-in: ffc982706c user: drh tags: trunk | |

2012-12-20
| ||

00:37 | Version 3.7.15.1 check-in: 4506c08a63 user: drh tags: trunk, release, version-3.7.15.1 | |

Changes

Changes to pages/lang.in.

2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
funcdef {ifnull(X,Y)} {} { ^The ifnull() function returns a copy of its first non-NULL argument, or NULL if both arguments are NULL. ^Ifnull() must have exactly 2 arguments. ^The ifnull() function is equivalent to [coalesce()] with two arguments. } funcdef {instr(X,Y)} {} { ^The instr(X,Y) function finds the first occurrence of string X within string Y and returns the number of prior characters plus 1, or 0 if X is nowhere found within Y. ^Or, if X and Y are both BLOBs, then instr(X,Y) returns one more than the number bytes prior to the first occurrence of X, or 0 if X does not occur anywhere within Y. ^If both arguments X and Y to instr(X,Y) are non-NULL and are not BLOBs then both are interpreted as strings. ^If either X or Y are NULL in instr(X,Y) then the result is NULL. } funcdef {hex(X)} {} { ^The hex() function interprets its argument as a BLOB and returns |
| | | | | |
2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
funcdef {ifnull(X,Y)} {} { ^The ifnull() function returns a copy of its first non-NULL argument, or NULL if both arguments are NULL. ^Ifnull() must have exactly 2 arguments. ^The ifnull() function is equivalent to [coalesce()] with two arguments. } funcdef {instr(X,Y)} {} { ^The instr(X,Y) function finds the first occurrence of string Y within string X and returns the number of prior characters plus 1, or 0 if Y is nowhere found within X. ^Or, if X and Y are both BLOBs, then instr(X,Y) returns one more than the number bytes prior to the first occurrence of Y, or 0 if Y does not occur anywhere within X. ^If both arguments X and Y to instr(X,Y) are non-NULL and are not BLOBs then both are interpreted as strings. ^If either X or Y are NULL in instr(X,Y) then the result is NULL. } funcdef {hex(X)} {} { ^The hex() function interprets its argument as a BLOB and returns |