Playbook app to find the Hamming Distance (the number of positions at which the corresponding symbols are different) between two strings.
For example, given
abd, the hamming distance is 1 (only the last letter is different). Given
cbd, the hamming distance is 2 (The first and last letters of the two strings are different).
This playbook has two, required inputs:
string_1(required): a string whose length you would like to compare with
string_2(required): a string whose length you would like to compare with
string_2 must be the same length.
The app outputs two variables:
hammingDistance: The hamming distance (e.g. )
hammingDistance.percentage: The hamming distance as a percentage of the length of the input strings (e.g. )
- Initial Release