We can use the .Contains(string) method in a LINQ expression that sounds like "% search text%", the method .StartsWith(string) that sounds like a "search text%" and the .EndsWith(string) method that sounds like " %% search text '.
But I need something that sounds β% search% text%β, which finds all the content containing βsearchβ and βtextβ but not sequential.
Example: I have these entries:
search text
text search
search text
In SQL, a query with LIKE '%search%text%' yields:
search my text
search for text
But it does not bring 'seek the text' .
Any ideas?
source share