Merge Help document to documentation (#1586)
Help document collation (integration of help and documentation documents)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user