Database & utility
Scalar
mismatches()
The Hamming distance between to strings, i.e., the number of positions with different characters for two strings of equal length. Strings must be of equal length. Characters of different cases (e.g., a and A) are considered different.
Reference: Haybarn WASM 2.0.0-rc12
Alias of hamming()
Arguments & returns
mismatches(s1, s2)
Scalar
| Overload link | s1 | s2 |
Returns |
|---|---|---|---|
| #01 | VARCHAR | VARCHAR |
BIGINT |
Example
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.