Flex Gateway New
API Governance New
© Copyright 2023 Salesforce, Inc. All rights reserved.
Returns the Hamming distance between two strings.
Introduced in DataWeave version 2.4.0.
The first string.
The second string.
This example shows how hammingDistance behaves with different strings.
import hammingDistance from dw::core::Strings
"holu" hammingDistance "chau"