I want to compare two string array like the following..
var array1 = ["playing cricket", "Reading Books", "Flying"]
var array2 = ["cricket", "Books"]
var array3 = ["common hobbies will insert here"]
so here I get common hobbies from both arrays like fuzzy search.
Please can anyone tell me how the get these common hobbies in both scenarios ?