Merge Help document to documentation (#1586)

Help document collation (integration of help and documentation documents)
This commit is contained in:
xy720
2019-08-07 21:31:53 +08:00
committed by ZHAO Chun
parent 41cbedf57d
commit 4c2a3d6da4
181 changed files with 3577 additions and 3971 deletions

View File

@ -1,14 +1,13 @@
# instr
## Syntax
## description
### Syntax
`INT instr(VARCHAR str, VARCHAR substr)`
## Description
返回 substr 在 str 中第一次出现的位置(从1开始计数)。如果 substr 不在 str 中出现,则返回0。
## Examples
## example
```
mysql> select instr("abc", "b");
@ -25,3 +24,5 @@ mysql> select instr("abc", "d");
| 0 |
+-------------------+
```
##keyword
INSTR