Skip to content

Commit

Permalink
Update string-functions.md
Browse files Browse the repository at this point in the history
fix manual line breaks
  • Loading branch information
jyf111 authored Jan 17, 2024
1 parent 561c8d8 commit b96f05a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions functions-and-operators/string-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ The `INSTR(str, substr)` function is used to get the index of the first occurren
> `INSTR(str, substr)` is case-sensitive by default, since [TiDB defaults to using binary collations](/character-set-and-collation.md), which differs from MySQL.
- If either argument is a number, the function treats the number as a string.
- If `substr` is not in `str`, the function returns 0; otherwise, it returns the index of the first occurrence
of `substr` in `str`.
- If `substr` is not in `str`, the function returns 0; otherwise, it returns the index of the first occurrence of `substr` in `str`.
- If either argument is NULL, the function returns NULL.

Examples:
Expand Down

0 comments on commit b96f05a

Please sign in to comment.