I have this statement in JQuery to filter JSON data
var datos = $(Data).filter(function (index, value) {
return value.Apellido == Apellido;
});
Where Data is my data concentrate, I want to filter those with a last name X, I do it correctly, but only if the last name I give is strictly the same as it is in the table, that is, it is not same "Hernández" to "Hernández". Is there any way to make a LIKE type like in SQL?