I need to find all strings in B that "partly" exists in A.
B = [ "Hello World!", "Hello Stack Overflow!", "Foo Bar!", "Food is nice...", "Hej" ]
A = [ "World", "Foo" ]
C = B.FuzzyCompare(A) // C = [ "Hello World!", "Foo Bar!", "Food is nice..." ]
I've been looking into using Levenshtein Distance Algorithm
for the "fuzzy" part of the problem, as well as LINQ for the iterations.
However, A * B usually results in over 1,5 billion comparisons.
How should i go about this? Is there a way to quickly "almost compare" two Lists of strings?