You need to cancel the use of Contains to check the words collection for fullName :
string[] words = searchString.Split(' '); var resultado = db.users .Where(u => words.Contains(u.fullName)) .Select(s => new { user_id = s.id_user, nombre = s.fullName}) .ToList();
This will match element one in the words array.
To match all words to the fullName user, use All :
var resultado = db.users .Where(u => words.All(w => u.fullName.Contains(w)) .Select(s => new { user_id = s.id_user, nombre = s.fullName}) .ToList();
source share