DIFFERENCE in JS
Description
Unfortunately, this functionality is not available in JS, but this can be implemented easily.
Sample Source Pattern
Implementation Example
function DIFFERENCE(strA, strB) {
var count = 0;
for (var i = 0; i < strA.length; i++){
if ( strA[i] == strB[i] ) count++;
}
return count;
}Arguments
strA, strB: String expressions resulting by executing the SOUNDEX algorithm.
Return Type
String.
Examples
Last updated
Was this helpful?