%dw 2.0 import levenshteinDistance from dw::core::Strings output application/json --- "kitten" levenshteinDistance "sitting"
Returns the Levenshtein distance (or edit distance) between two strings.
Introduced in DataWeave version 2.4.0.
Submit your feedback!
Share your thoughts to help us build the best documentation experience for you!Take our latest survey!