Skip to content

Commit

Permalink
Update string-functions.md
Browse files Browse the repository at this point in the history
polish sentence
  • Loading branch information
jyf111 authored Jan 16, 2024
1 parent aacdc4c commit 8c012be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions-and-operators/string-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ This function is the same as the two-argument version of [`LOCATE(substr, str)`]

> **Note:**
>
> `INSTR(str, substr)` is case sensitive since [TiDB uses binary collations by default](/character-set-and-collation.md), which differs from MySQL.
> `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
Expand Down

0 comments on commit 8c012be

Please sign in to comment.