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.

Alias of hamming()

Arguments & returns

mismatches(s1, s2)

Scalar
Overload link s1s2 Returns
#01 VARCHARVARCHAR BIGINT

Example

mismatches example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.